]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoFixed a crash when spanningtree is given a blank line; really simple fix, and I had...
special [Tue, 28 Nov 2006 01:46:11 +0000 (01:46 +0000)]
Fixed a crash when spanningtree is given a blank line; really simple fix, and I had to wait 10 minutes to test it :<

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5823 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoO(n^n) is bad. O(log n) is better.
brain [Mon, 27 Nov 2006 18:17:18 +0000 (18:17 +0000)]
O(n^n) is bad. O(log n) is better.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5822 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidyup
brain [Mon, 27 Nov 2006 17:55:05 +0000 (17:55 +0000)]
Tidyup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5821 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThere, the guts of it are done, spanningtree now uses the exempt lists to cleverly...
brain [Mon, 27 Nov 2006 17:52:41 +0000 (17:52 +0000)]
There, the guts of it are done, spanningtree now uses the exempt lists to cleverly route its messages and save bandwidth

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5820 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBuildExemptList is becoming pretty ugly. grr.
brain [Mon, 27 Nov 2006 17:45:16 +0000 (17:45 +0000)]
BuildExemptList is becoming pretty ugly. grr.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5819 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd OnBuildExemptList, which is used to build an exempt list when passing a privmsg...
brain [Mon, 27 Nov 2006 17:19:28 +0000 (17:19 +0000)]
Add OnBuildExemptList, which is used to build an exempt list when passing a privmsg on, but not directly processing it (m_spanningtree etc)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5818 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd exception lists to OnUserMessage and OnUserNotice, to be used for smarter routing...
brain [Mon, 27 Nov 2006 17:03:47 +0000 (17:03 +0000)]
Add exception lists to OnUserMessage and OnUserNotice, to be used for smarter routing of messages in spanningtree amongst other things

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5817 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoC DOS, C DOS RUN, RUN DOS RUN ^M^M^M
peavey [Sun, 26 Nov 2006 23:34:32 +0000 (23:34 +0000)]
C DOS, C DOS RUN, RUN DOS RUN ^M^M^M

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5816 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoadd m_deaf.so to example.conf
peavey [Sun, 26 Nov 2006 23:30:40 +0000 (23:30 +0000)]
add m_deaf.so to example.conf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5815 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoProvides support for ircu style usermode +d (deaf to channel messages and channel...
peavey [Sun, 26 Nov 2006 23:22:55 +0000 (23:22 +0000)]
Provides support for ircu style usermode +d (deaf to channel messages and channel notices)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5814 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix really minor typo
brain [Sun, 26 Nov 2006 20:18:09 +0000 (20:18 +0000)]
Fix really minor typo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5813 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate the comment for flag 't'
brain [Sun, 26 Nov 2006 19:10:35 +0000 (19:10 +0000)]
Update the comment for flag 't'

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5812 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidyup, avoid ternary if() on every iteration of a loop (bad brain bad)
brain [Sun, 26 Nov 2006 19:03:16 +0000 (19:03 +0000)]
Tidyup, avoid ternary if() on every iteration of a loop (bad brain bad)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5811 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSILENCE_CNOTICE, flag 't'. Needs testing, peavey should probably review to check...
brain [Sun, 26 Nov 2006 19:00:43 +0000 (19:00 +0000)]
SILENCE_CNOTICE, flag 't'. Needs testing, peavey should probably review to check it fits in with what he was doing :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5810 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix to work with channel notices.
brain [Sun, 26 Nov 2006 18:55:29 +0000 (18:55 +0000)]
Fix to work with channel notices.
SILENCE_PRIVATE silences private PRIVMSG, SILENCE_NOTICE silences private NOTICE, and SILENCE_CHANNEL silences channel PRIVMSG *and* channel NOTICE.
This makes sense to me... :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5809 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agonow using OnUserPreMessage exempt_list instead of OnPreCommand dup code for blocking...
peavey [Sun, 26 Nov 2006 18:44:37 +0000 (18:44 +0000)]
now using OnUserPreMessage exempt_list instead of OnPreCommand dup code for blocking of channel messages.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5808 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate comments to reflect new API
brain [Sun, 26 Nov 2006 18:12:50 +0000 (18:12 +0000)]
Update comments to reflect new API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5807 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_list...
brain [Sun, 26 Nov 2006 18:04:47 +0000 (18:04 +0000)]
Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_list, a list of users NOT to write to. By default it just contains the sender, you can add more.
This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5806 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago005 tokens: "ESILENCE SILENCE=999"
brain [Sun, 26 Nov 2006 17:14:28 +0000 (17:14 +0000)]
005 tokens: "ESILENCE SILENCE=999"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5805 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd m_silence_ext.so to the example conf
brain [Sun, 26 Nov 2006 14:49:55 +0000 (14:49 +0000)]
Add m_silence_ext.so to the example conf

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5804 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd a description to an exception in the constructor, also reformat all the if()...
brain [Sun, 26 Nov 2006 14:42:37 +0000 (14:42 +0000)]
Add a description to an exception in the constructor, also reformat all the if() without a space that om did :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5803 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up space indents
brain [Sun, 26 Nov 2006 14:02:23 +0000 (14:02 +0000)]
Tidy up space indents

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5802 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agofix a few confusing returns
peavey [Sun, 26 Nov 2006 05:57:49 +0000 (05:57 +0000)]
fix a few confusing returns

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5801 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoImproved drop-in replacement for cmd /SILENCE. This first draft features server side...
peavey [Sun, 26 Nov 2006 05:49:49 +0000 (05:49 +0000)]
Improved drop-in replacement for cmd /SILENCE. This first draft features server side blocking of private messages, channel messages, notices, invites based on the silence hostmask. Also you can make excludes to your SILENCE rules. See source for examples. Flames, comments, edits are welcomed.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5800 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake numeric 443 ERR_USERONCHANNEL conform to the RFC
peavey [Sun, 26 Nov 2006 04:43:06 +0000 (04:43 +0000)]
Make numeric 443 ERR_USERONCHANNEL conform to the RFC

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5799 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake silence list removals and additions a ton faster by making the silence list...
brain [Sun, 26 Nov 2006 02:33:42 +0000 (02:33 +0000)]
Make silence list removals and additions a ton faster by making the silence list a map. Note that this probably wont port to peavey's improved silence, i wouldnt bother trying :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5798 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoImprove openssl detection
brain [Sat, 25 Nov 2006 14:18:59 +0000 (14:18 +0000)]
Improve openssl detection

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5797 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agowhoops, !defined not undef!
brain [Fri, 24 Nov 2006 19:29:47 +0000 (19:29 +0000)]
whoops, !defined not undef!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5795 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake this smarter when we dont have pkg-config
brain [Fri, 24 Nov 2006 19:26:12 +0000 (19:26 +0000)]
Make this smarter when we dont have pkg-config

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5794 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMore fixes
brain [Fri, 24 Nov 2006 19:08:52 +0000 (19:08 +0000)]
More fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5793 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixes
brain [Fri, 24 Nov 2006 19:07:00 +0000 (19:07 +0000)]
Fixes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5792 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSmarter openssl detection
brain [Fri, 24 Nov 2006 19:06:02 +0000 (19:06 +0000)]
Smarter openssl detection

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5791 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoIn answer to w00ts question, the channel might not exist, because of the following...
brain [Fri, 24 Nov 2006 16:32:16 +0000 (16:32 +0000)]
In answer to w00ts question, the channel might not exist, because of the following situation
user A exists on both servers.
When servers link, user A is collided, but one or both servers still get the FJOIN:  FJOIN #chan 1234 :@,A
of course, A is gone, the only join to the channel fails, so the channel actually doesnt exist at the end of the loop, so chan == NULL :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5790 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix #176, not sure how channel can't exist after being created, but apparantly it...
w00t [Thu, 23 Nov 2006 22:10:50 +0000 (22:10 +0000)]
Fix #176, not sure how channel can't exist after being created, but apparantly it can happen

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5789 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix my fix, it crashed (thanks skenmy, sorry)
w00t [Wed, 22 Nov 2006 19:29:52 +0000 (19:29 +0000)]
Fix my fix, it crashed (thanks skenmy, sorry)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDisallow mode prefix # since it will mess up /whois and /privmsg
peavey [Wed, 22 Nov 2006 17:44:34 +0000 (17:44 +0000)]
Disallow mode prefix # since it will mess up /whois and /privmsg

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5786 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemoved <options:tempdir> - this hasn't been used since modules were updated to not...
special [Wed, 22 Nov 2006 04:29:51 +0000 (04:29 +0000)]
Removed <options:tempdir> - this hasn't been used since modules were updated to not copy before load (quite awhile ago)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5785 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix spurious deops on channel creation, pointed out by jilles, noted by a number...
w00t [Tue, 21 Nov 2006 23:32:01 +0000 (23:32 +0000)]
Fix spurious deops on channel creation, pointed out by jilles, noted by a number of people. :P

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5784 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agofix for bug #175, change OnUserRegister to return int, and if greater than 0 = user...
peavey [Tue, 21 Nov 2006 23:22:04 +0000 (23:22 +0000)]
fix for bug #175, change OnUserRegister to return int, and if greater than 0 = user was quit and stop propagating to rest of loaded modules. Also bumb the module API version.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5783 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded *.pid to the svn:ignore for conf/ - I hate all of these files always showing...
special [Tue, 21 Nov 2006 22:10:40 +0000 (22:10 +0000)]
Added *.pid to the svn:ignore for conf/ - I hate all of these files always showing up in my svn status

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5782 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this fixes an...
special [Tue, 21 Nov 2006 22:05:53 +0000 (22:05 +0000)]
Fixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this fixes an issue with systems that want to use libgcrypt or libgpg-error in nonstandard locations

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5781 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove space
brain [Sun, 19 Nov 2006 16:41:41 +0000 (16:41 +0000)]
Remove space

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5780 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOoops, remove my debug line
om [Sun, 19 Nov 2006 16:20:25 +0000 (16:20 +0000)]
Ooops, remove my debug line

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5779 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAlso return for 7.x series > 7.3.15, this still wants testing :p (which versions...
om [Sun, 19 Nov 2006 16:19:46 +0000 (16:19 +0000)]
Also return for 7.x series > 7.3.15, this still wants testing :p (which versions actually have the functions, I'm pretty happy with the script working properly)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5778 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHopefully uncraq this script enough to actually work, should return for versions...
om [Sun, 19 Nov 2006 16:13:28 +0000 (16:13 +0000)]
Hopefully uncraq this script enough to actually work, should return for versions > 8.1.4

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5777 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMerge pgsql stuff from darix, but im sure theres something to be looked at in the...
brain [Sun, 19 Nov 2006 15:58:39 +0000 (15:58 +0000)]
Merge pgsql stuff from darix, but im sure theres something to be looked at in the helper script

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5776 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake opermotd and randquote paths relative
brain [Sun, 19 Nov 2006 02:42:38 +0000 (02:42 +0000)]
Make opermotd and randquote paths relative

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5775 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoApply CXXFLAGS patch from darix
brain [Sun, 19 Nov 2006 01:35:11 +0000 (01:35 +0000)]
Apply CXXFLAGS patch from darix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5774 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove unused /usr/local/lib from helperfuncs.cpp include dirs etc, its not been...
brain [Sun, 19 Nov 2006 01:12:26 +0000 (01:12 +0000)]
Remove unused /usr/local/lib from helperfuncs.cpp include dirs etc, its not been needed for several versions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5773 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUse pkg-config to detect lib paths - thanks darix we've been looking for this for...
brain [Sun, 19 Nov 2006 01:10:01 +0000 (01:10 +0000)]
Use pkg-config to detect lib paths - thanks darix we've been looking for this for ages :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5772 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd -fno-strict-aliasing to shut up gcc when building with -O2. We know what we're...
brain [Sun, 19 Nov 2006 00:52:26 +0000 (00:52 +0000)]
Add -fno-strict-aliasing to shut up gcc when building with -O2. We know what we're doing with the 'punned pointer' is perfectly valid and works fine (and we've been doing it since 1.0 alphas)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5771 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix all the _FORTIFY_SOURCE warnings except "punned pointer".
brain [Sun, 19 Nov 2006 00:43:35 +0000 (00:43 +0000)]
Fix all the _FORTIFY_SOURCE warnings except "punned pointer".
We CANNOT fix this, as it is the recommended (and only) way to dlsym a symbol from a .so file.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5770 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd CXXFLAGS appending thing from darix
brain [Sat, 18 Nov 2006 23:05:32 +0000 (23:05 +0000)]
Add CXXFLAGS appending thing from darix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5769 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoApply instmode stuff from darix
brain [Sat, 18 Nov 2006 23:02:33 +0000 (23:02 +0000)]
Apply instmode stuff from darix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5768 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThe tags must be prefixed with helpop_ in 1.1 beta 5 and above
brain [Sat, 18 Nov 2006 22:10:31 +0000 (22:10 +0000)]
The tags must be prefixed with helpop_ in 1.1 beta 5 and above

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5767 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSince the last beta, the pid file doesnt have to be specified. If it hasnt been speci...
brain [Sat, 18 Nov 2006 20:06:25 +0000 (20:06 +0000)]
Since the last beta, the pid file doesnt have to be specified. If it hasnt been specified, default to <conf>/inspircd.pid

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5766 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange from dos to unix line endings (how did these get in here?)
brain [Sat, 18 Nov 2006 17:31:01 +0000 (17:31 +0000)]
Change from dos to unix line endings (how did these get in here?)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5765 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agobits_size must be protected, not private
brain [Sat, 18 Nov 2006 01:14:05 +0000 (01:14 +0000)]
bits_size must be protected, not private

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5764 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd \code and \endcode tags for doxygen
brain [Sat, 18 Nov 2006 01:05:36 +0000 (01:05 +0000)]
Add \code and \endcode tags for doxygen

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5763 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix a major whoopsie in that class i just added. It must be derived using virtual...
brain [Sat, 18 Nov 2006 01:03:47 +0000 (01:03 +0000)]
Fix a major whoopsie in that class i just added. It must be derived using virtual methods, because each TYPE of bitmask must have its own static allocation of flags. See the (long winded) comments.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5762 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoReduce size of max number of bytes in a bitfield from a 4 or 8 byte field to a 1...
brain [Sat, 18 Nov 2006 00:32:35 +0000 (00:32 +0000)]
Reduce size of max number of bytes in a bitfield from a 4 or 8 byte field to a 1 byte field (unsigned char).
This still allows storage of 8*255 bits, which is MORE than enough (for the interested, its 2040 bits)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5761 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoProperly document irc::dynamicbitmask
brain [Sat, 18 Nov 2006 00:08:46 +0000 (00:08 +0000)]
Properly document irc::dynamicbitmask

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5760 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove some debug, add some comments, throw exception in Get() when passed an invalid...
brain [Fri, 17 Nov 2006 23:58:23 +0000 (23:58 +0000)]
Remove some debug, add some comments, throw exception in Get() when passed an invalid irc::bitfield

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5759 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix this so it works, passes test case. Provide a method to query for a bit and to...
brain [Fri, 17 Nov 2006 23:51:35 +0000 (23:51 +0000)]
Fix this so it works, passes test case. Provide a method to query for a bit and to return the total size in bytes of the bitset

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5758 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd irc::dynamicbitmask class. Feel free to take a look and offer suggestions, as...
brain [Fri, 17 Nov 2006 23:23:32 +0000 (23:23 +0000)]
Add irc::dynamicbitmask class. Feel free to take a look and offer suggestions, as far as i can tell its about as efficient as im going to make it.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5757 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake STATS i, y, c, n more relevent to 1.1
brain [Thu, 16 Nov 2006 19:45:55 +0000 (19:45 +0000)]
Make STATS i, y, c, n more relevent to 1.1

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5756 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix /whois on users with lots, and lots of channels (see /whois idleserv). Was broken...
w00t [Thu, 16 Nov 2006 10:56:23 +0000 (10:56 +0000)]
Fix /whois on users with lots, and lots of channels (see /whois idleserv). Was broken by the indroduction of OnWhoisLine stuff.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5755 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd WHO flag 'm' to show users who have a mode sequence
brain [Wed, 15 Nov 2006 23:17:02 +0000 (23:17 +0000)]
Add WHO flag 'm' to show users who have a mode sequence

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5754 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up some stuff
brain [Wed, 15 Nov 2006 22:20:51 +0000 (22:20 +0000)]
Tidy up some stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5753 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThe array should no longer be static
brain [Wed, 15 Nov 2006 21:53:24 +0000 (21:53 +0000)]
The array should no longer be static

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5752 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComments, woo and yay
brain [Wed, 15 Nov 2006 21:51:11 +0000 (21:51 +0000)]
Comments, woo and yay

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5751 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAll of the void* cast stuff gone!!!
brain [Wed, 15 Nov 2006 21:37:08 +0000 (21:37 +0000)]
All of the void* cast stuff gone!!!
Todo: comment all this stuff...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5750 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove tons of pointer craq (theres still a tinnny bit more to remove)
brain [Wed, 15 Nov 2006 19:28:06 +0000 (19:28 +0000)]
Remove tons of pointer craq (theres still a tinnny bit more to remove)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5749 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDon't allow a non-oper to view another users modes. This slightly tweaks the rfc...
brain [Wed, 15 Nov 2006 17:16:54 +0000 (17:16 +0000)]
Don't allow a non-oper to view another users modes. This slightly tweaks the rfc, because the rfc says even opers shouldnt be able to view modes but thats just a backwards pain in the neck.
Also, remove the system from 1.0 whereby an oper CAN change a non-opers modes (except +o) because all this did was confuse services packages.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5748 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded <oper:swhois> to m_swhois, which will override <type:swhois> if specified
special [Wed, 15 Nov 2006 00:10:46 +0000 (00:10 +0000)]
Added <oper:swhois> to m_swhois, which will override <type:swhois> if specified

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5747 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWe dont need this dummy value any more!
brain [Tue, 14 Nov 2006 23:07:34 +0000 (23:07 +0000)]
We dont need this dummy value any more!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5746 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTemporarily? remove the old gcc3.3 fix
brain [Tue, 14 Nov 2006 22:39:55 +0000 (22:39 +0000)]
Temporarily? remove the old gcc3.3 fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5745 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTons of tweaks to the config stuff for the core
brain [Tue, 14 Nov 2006 22:38:43 +0000 (22:38 +0000)]
Tons of tweaks to the config stuff for the core

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5744 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidyup and tons of debug in here, to troubleshoot an ongoing issue with gcc3.3 and...
brain [Tue, 14 Nov 2006 21:36:14 +0000 (21:36 +0000)]
Tidyup and tons of debug in here, to troubleshoot an ongoing issue with gcc3.3 and what seems like a stack corruption

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5743 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAnother couple of 'forgot to memset's
brain [Tue, 14 Nov 2006 20:01:01 +0000 (20:01 +0000)]
Another couple of 'forgot to memset's

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5742 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoProperly zero the epoll_event in epollengine WantWrite to stop a valgrind warning
brain [Tue, 14 Nov 2006 19:37:05 +0000 (19:37 +0000)]
Properly zero the epoll_event in epollengine WantWrite to stop a valgrind warning

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5741 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoInherit ModuleException from std::exception rather than classbase
brain [Tue, 14 Nov 2006 18:50:50 +0000 (18:50 +0000)]
Inherit ModuleException from std::exception rather than classbase

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5740 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoModify server counts in /lusers to show number of servers actually visible if you...
brain [Mon, 13 Nov 2006 19:56:27 +0000 (19:56 +0000)]
Modify server counts in /lusers to show number of servers actually visible if you arent an oper and we're hiding ulines

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5739 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agouse --iter instead of iter-- in prunewhowas
peavey [Mon, 13 Nov 2006 15:39:09 +0000 (15:39 +0000)]
use --iter instead of iter-- in prunewhowas

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5738 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agofix for bug #173, unsafe delete while iterating
peavey [Mon, 13 Nov 2006 15:25:28 +0000 (15:25 +0000)]
fix for bug #173, unsafe delete while iterating

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5737 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTell user command WHOWAS is disabled if disabled in config.
peavey [Mon, 13 Nov 2006 09:01:23 +0000 (09:01 +0000)]
Tell user command WHOWAS is disabled if disabled in config.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5736 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument how to disable whowas
peavey [Mon, 13 Nov 2006 08:19:59 +0000 (08:19 +0000)]
Document how to disable whowas

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5735 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix PruneWhoWas to actually work right on rehash. Add debug output to whowas. More...
peavey [Mon, 13 Nov 2006 08:15:35 +0000 (08:15 +0000)]
Fix PruneWhoWas to actually work right on rehash. Add debug output to whowas. More code comments to whowas.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5734 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDo *NOT* use local vars in ServerConfig::Read for temporary storage of values
peavey [Mon, 13 Nov 2006 01:39:22 +0000 (01:39 +0000)]
Do *NOT* use local vars in ServerConfig::Read for temporary storage of values

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5733 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOnly re-initialize disabled commands if they've changed
brain [Mon, 13 Nov 2006 00:56:07 +0000 (00:56 +0000)]
Only re-initialize disabled commands if they've changed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5732 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoadd <whowas> config option to control whowas behaviour. *may break*
peavey [Mon, 13 Nov 2006 00:45:37 +0000 (00:45 +0000)]
add <whowas> config option to control whowas behaviour. *may break*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5731 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhen rehashing and adding new ports, error back to the user if the ports fail to...
brain [Sun, 12 Nov 2006 23:14:56 +0000 (23:14 +0000)]
When rehashing and adding new ports, error back to the user if the ports fail to bind

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5730 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGrammar nazi in the hizouse
brain [Sun, 12 Nov 2006 22:59:34 +0000 (22:59 +0000)]
Grammar nazi in the hizouse

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5729 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWhen some (but not all) of the ports fail to bind on startup, give the user a list...
brain [Sun, 12 Nov 2006 22:58:48 +0000 (22:58 +0000)]
When some (but not all) of the ports fail to bind on startup, give the user a list of the failed port/ip pairs on the terminal.
Other ircds dont do this, and say 'go read the log'. I say if we can output them to a log, why not the screen? :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5728 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSwap some stuff around, just to complicate bruteforcing
brain [Sun, 12 Nov 2006 22:23:43 +0000 (22:23 +0000)]
Swap some stuff around, just to complicate bruteforcing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5727 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMake the output table chosen be unique to the actual ip so that the octet values...
brain [Sun, 12 Nov 2006 22:19:42 +0000 (22:19 +0000)]
Make the output table chosen be unique to the actual ip so that the octet values are non-reversible.
e.g. we cant figure out "if the first digit of my ip is 128, and the first value of my cloak is 09FAC, then all users with an 09FAC in them have a 128 in their ip"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5726 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBetter cloaking for unresolved IP addresses.
brain [Sun, 12 Nov 2006 22:17:39 +0000 (22:17 +0000)]
Better cloaking for unresolved IP addresses.
Now hashes each octet and joins them with '.' so you easier ban unresolved ip's.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5725 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agotypo fix
peavey [Sun, 12 Nov 2006 19:03:04 +0000 (19:03 +0000)]
typo fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5724 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdvance to beta 6 svn
brain [Sun, 12 Nov 2006 19:02:09 +0000 (19:02 +0000)]
Advance to beta 6 svn

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5723 e03df62e-2008-0410-955e-edbf42e46eb7

17 years ago1.1 Beta 5 + Lugnut
brain [Sun, 12 Nov 2006 18:44:20 +0000 (18:44 +0000)]
1.1 Beta 5 + Lugnut

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5721 e03df62e-2008-0410-955e-edbf42e46eb7