]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 years agoThanks for the pointer jilles ;)
brain [Sun, 12 Nov 2006 17:51:29 +0000 (17:51 +0000)]
Thanks for the pointer jilles ;)

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

18 years agoSlight hax. When bursting a channel - in the fmode, if we dont have +n or +t set...
brain [Sun, 12 Nov 2006 17:47:59 +0000 (17:47 +0000)]
Slight hax. When bursting a channel - in the fmode, if we dont have +n or +t set this side, explicitly put -n or -t into the mode string.
This is because the other side will ass-u-me +nt set because this is the default.

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

18 years agoIf a new channel is created, after sending the FJOIN for the first user in, send...
brain [Sun, 12 Nov 2006 17:44:53 +0000 (17:44 +0000)]
If a new channel is created, after sending the FJOIN for the first user in, send an FMODE #chan <ts> +nt, to sync the +nt on all remote servers explicitly.

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

18 years agoShow chanrec::age in MODE #chan, not the deprecated chanrec::created
brain [Sun, 12 Nov 2006 17:33:21 +0000 (17:33 +0000)]
Show chanrec::age in MODE #chan, not the deprecated chanrec::created

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

18 years agoAdded a notice that all people bumping the protocol version should edit a page in...
brain [Sun, 12 Nov 2006 17:20:22 +0000 (17:20 +0000)]
Added a notice that all people bumping the protocol version should edit a page in the wiki:
 * IMPORTANT: If you make changes, document your changes here, without fail:
 * http://www.inspircd.org/wiki/List_of_protocol_changes_between_versions
 *
 * Failure to document your protocol changes will result in a painfully
 * painful death by pain. You have been warned.

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

18 years agoProtocl-Version bump to 1102
brain [Sun, 12 Nov 2006 16:37:51 +0000 (16:37 +0000)]
Protocl-Version bump to 1102

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

18 years agoOops, using wrong param
brain [Sun, 12 Nov 2006 16:35:07 +0000 (16:35 +0000)]
Oops, using wrong param

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

18 years agoMore funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICE
brain [Sun, 12 Nov 2006 16:14:44 +0000 (16:14 +0000)]
More funky stuff, SNONOTICE, MODENOTICE to go with OPERNOTICE
(OPERNOTICE can be considered to be "MODENOTICE os", but it saves bandwidth and cpu to send OPERNOTICE where possible)

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

18 years agoWhoops, stuff in the wrong place
brain [Sun, 12 Nov 2006 16:08:00 +0000 (16:08 +0000)]
Whoops, stuff in the wrong place

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

18 years agoAnd change < 64 to <= 64, the length limit is 64 - not 63
om [Sun, 12 Nov 2006 16:03:39 +0000 (16:03 +0000)]
And change < 64 to <= 64, the length limit is 64 - not 63

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

18 years agoMake OPERNOTICE work right
brain [Sun, 12 Nov 2006 16:03:21 +0000 (16:03 +0000)]
Make OPERNOTICE work right

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

18 years agoFix off-by-one error in userrec::ChangeDisplayedHost, some hosts were truncated
om [Sun, 12 Nov 2006 16:02:10 +0000 (16:02 +0000)]
Fix off-by-one error in userrec::ChangeDisplayedHost, some hosts were truncated

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

18 years agoAdd send_opers event and OPERNOTICE command to send remote server NOTICE
brain [Sun, 12 Nov 2006 15:59:25 +0000 (15:59 +0000)]
Add send_opers event and OPERNOTICE command to send remote server NOTICE

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

18 years agoYes, we do want to propogate the server mode
brain [Sun, 12 Nov 2006 15:48:41 +0000 (15:48 +0000)]
Yes, we do want to propogate the server mode

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

18 years agoNotice back to oper on invalid SAMODE
brain [Sun, 12 Nov 2006 15:47:14 +0000 (15:47 +0000)]
Notice back to oper on invalid SAMODE

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

18 years agoNeeds testing: SAMODE doesnt send the actual SAMODE text any more, instead it sends...
brain [Sun, 12 Nov 2006 15:44:54 +0000 (15:44 +0000)]
Needs testing: SAMODE doesnt send the actual SAMODE text any more, instead it sends a server-origin MODE

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

18 years agoAllow normal MODE from a server prefix
brain [Sun, 12 Nov 2006 15:41:43 +0000 (15:41 +0000)]
Allow normal MODE from a server prefix

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

18 years agoDont propogate failed mode changes
brain [Sun, 12 Nov 2006 15:27:46 +0000 (15:27 +0000)]
Dont propogate failed mode changes

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

18 years agoAdd m_restrictbanned to example conf.
w00t [Sun, 12 Nov 2006 14:17:58 +0000 (14:17 +0000)]
Add m_restrictbanned to example conf.

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