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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoAdd m_restrictbanned.so, disalows banned users on a channel from messaging the channe...
w00t [Sun, 12 Nov 2006 14:14:18 +0000 (14:14 +0000)]
Add m_restrictbanned.so, disalows banned users on a channel from messaging the channel, changing nick, or changing the topic, if loaded.

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

17 years agoWe now have only one string copy for remote topics. We still need two for local thoug...
brain [Sun, 12 Nov 2006 13:28:46 +0000 (13:28 +0000)]
We now have only one string copy for remote topics. We still need two for local though (ick) -- see comments

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

17 years agoEnable removal of debug info for tiny systems
brain [Sat, 11 Nov 2006 21:26:47 +0000 (21:26 +0000)]
Enable removal of debug info for tiny systems

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

17 years agofix a compile warning
peavey [Sat, 11 Nov 2006 20:38:37 +0000 (20:38 +0000)]
fix a compile warning

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

17 years agoEliminate two trivial compile warnings pointed out by a few people
brain [Sat, 11 Nov 2006 20:35:42 +0000 (20:35 +0000)]
Eliminate two trivial compile warnings pointed out by a few people

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

17 years agoA few lines here are loglevel DEFAULT and should be DEBUG.
brain [Sat, 11 Nov 2006 17:37:56 +0000 (17:37 +0000)]
A few lines here are loglevel DEFAULT and should be DEBUG.

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

17 years agoDont allow overlapped ports in these files
brain [Sat, 11 Nov 2006 15:47:32 +0000 (15:47 +0000)]
Dont allow overlapped ports in these files

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

17 years agoAllow checking of overlapped ports. A bit of sensible thought prevents this from...
brain [Sat, 11 Nov 2006 15:46:00 +0000 (15:46 +0000)]
Allow checking of overlapped ports. A bit of sensible thought prevents this from being O(n^2)

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

17 years agoDocument irc::portparser with comments :-)
brain [Sat, 11 Nov 2006 15:28:18 +0000 (15:28 +0000)]
Document irc::portparser with comments :-)

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

17 years agodont use local vars and lose state
brain [Sat, 11 Nov 2006 15:22:17 +0000 (15:22 +0000)]
dont use local vars and lose state

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

17 years agoHandle out of range port numbers without stopping parsing the whole set
brain [Sat, 11 Nov 2006 15:20:35 +0000 (15:20 +0000)]
Handle out of range port numbers without stopping parsing the whole set

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

17 years agoAdd irc::portparser, a class to parse port ranges in the form "6660,6661,6662-6669...
brain [Sat, 11 Nov 2006 15:17:40 +0000 (15:17 +0000)]
Add irc::portparser, a class to parse port ranges in the form "6660,6661,6662-6669,7000".
Needs testing, watch next few commits.

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

17 years agoMake these properly detect port ranges.
brain [Sat, 11 Nov 2006 14:58:13 +0000 (14:58 +0000)]
Make these properly detect port ranges.
TODO: Make a port range parser class

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

17 years agoDocument port range stuff
brain [Sat, 11 Nov 2006 14:46:52 +0000 (14:46 +0000)]
Document port range stuff

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

17 years agoSupport hybrid-style port ranges in spanningtree, too
brain [Sat, 11 Nov 2006 14:44:46 +0000 (14:44 +0000)]
Support hybrid-style port ranges in spanningtree, too

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

17 years agoAllow port ranges for client ports (this is still todo in spanningtree)
brain [Sat, 11 Nov 2006 14:33:57 +0000 (14:33 +0000)]
Allow port ranges for client ports (this is still todo in spanningtree)

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

17 years agofix small typo (also doubles as test commit)
peavey [Sat, 11 Nov 2006 13:18:23 +0000 (13:18 +0000)]
fix small typo (also doubles as test commit)

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

17 years agoOops, add special-case for user killing themselves (their userrec is gone when the...
brain [Sat, 11 Nov 2006 12:15:11 +0000 (12:15 +0000)]
Oops, add special-case for user killing themselves (their userrec is gone when the function returns)
Also put checks in LoopCall to check that the user didnt vanish half way through the comma seperated list, if they did, abort at that element of the list.
This means if your nick is 'a' and you do "/kill b,c,a,f,g die" only you, b and c will be removed from irc. (this is to be expected, really)

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

17 years agoYay, comma seperated /kill, same limits as PRIVMSG etc.
brain [Sat, 11 Nov 2006 12:05:34 +0000 (12:05 +0000)]
Yay, comma seperated /kill, same limits as PRIVMSG etc.

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