]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoProper error checking on loading cmd_*.so files
brain [Sun, 3 Sep 2006 00:58:09 +0000 (00:58 +0000)]
Proper error checking on loading cmd_*.so files

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

17 years agoRemove the shared object pointer from the hash after each reload
brain [Sun, 3 Sep 2006 00:48:12 +0000 (00:48 +0000)]
Remove the shared object pointer from the hash after each reload

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

17 years agoForgot to copy cmd_mode.so
brain [Sun, 3 Sep 2006 00:46:26 +0000 (00:46 +0000)]
Forgot to copy cmd_mode.so

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

17 years agoAdd /RELOAD and move cmd_mode into its own command.
brain [Sun, 3 Sep 2006 00:44:11 +0000 (00:44 +0000)]
Add /RELOAD and move cmd_mode into its own command.
/RELOAD is the only thing you cant reload (ahem)

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

17 years agoAuto loading of commands as shared objects via dlsym (very lightweight interface...
brain [Sun, 3 Sep 2006 00:09:38 +0000 (00:09 +0000)]
Auto loading of commands as shared objects via dlsym (very lightweight interface, just expects a command_t* pointer)

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

17 years agocmd_* files are now shared object. This lets make -j optimize the build process a...
brain [Sat, 2 Sep 2006 23:06:14 +0000 (23:06 +0000)]
cmd_* files are now shared object. This lets make -j optimize the build process a little better (it doesnt have to wait for the cmd_ files to finish so it can link commands.cpp against them), and it makes libIRCDcommands.so not be 20mb in size (which might hit file size limits on some shell hosters)

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

17 years agoGive this module VF_COMMON, as services depend on it
brain [Sat, 2 Sep 2006 20:47:03 +0000 (20:47 +0000)]
Give this module VF_COMMON, as services depend on it

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

17 years agoOnly VF_COMMON modules are sent in CAPAB now, not VF_STATIC
brain [Sat, 2 Sep 2006 18:04:09 +0000 (18:04 +0000)]
Only VF_COMMON modules are sent in CAPAB now, not VF_STATIC

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

17 years agoDoesnt need VF_STATIC
brain [Sat, 2 Sep 2006 18:03:02 +0000 (18:03 +0000)]
Doesnt need VF_STATIC

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

17 years agoComments
brain [Sat, 2 Sep 2006 17:41:36 +0000 (17:41 +0000)]
Comments

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

17 years agoActually make +ovhk removable with DelMode (just in case somebody wants to, or we...
brain [Sat, 2 Sep 2006 17:40:33 +0000 (17:40 +0000)]
Actually make +ovhk removable with DelMode (just in case somebody wants to, or we have need to in the future)

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

17 years agoBecause these modes take no parameter when being removed, they need no special code...
brain [Sat, 2 Sep 2006 16:53:01 +0000 (16:53 +0000)]
Because these modes take no parameter when being removed, they need no special code for ModeHandler::RemoveMode()

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

17 years agoActually let it be unloaded would be a start (remove VF_STATIC)
brain [Sat, 2 Sep 2006 16:45:40 +0000 (16:45 +0000)]
Actually let it be unloaded would be a start (remove VF_STATIC)

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

17 years agoAllow unloading of +qa
brain [Sat, 2 Sep 2006 16:44:38 +0000 (16:44 +0000)]
Allow unloading of +qa

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

17 years agoAnd this (i guess it once tested mode stuff)
brain [Sat, 2 Sep 2006 16:34:45 +0000 (16:34 +0000)]
And this (i guess it once tested mode stuff)

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

17 years agoSo was this...
brain [Sat, 2 Sep 2006 16:34:16 +0000 (16:34 +0000)]
So was this...

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

17 years agoFor some reason this was VF_STATIC
brain [Sat, 2 Sep 2006 16:33:18 +0000 (16:33 +0000)]
For some reason this was VF_STATIC

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

17 years agoDon't try and delete from the item list whilst iterating it - make a copy instead
brain [Sat, 2 Sep 2006 16:31:59 +0000 (16:31 +0000)]
Don't try and delete from the item list whilst iterating it - make a copy instead
All modules using u_listmode.h are now unloadable (thats 3 more down)

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

17 years agoDon't use oncleanup to remove listmode lists
brain [Sat, 2 Sep 2006 16:27:02 +0000 (16:27 +0000)]
Don't use oncleanup to remove listmode lists

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

17 years agobanexception, chanfilter and inviteexception should now be unloadable :)
brain [Sat, 2 Sep 2006 16:13:01 +0000 (16:13 +0000)]
banexception, chanfilter and inviteexception should now be unloadable :)

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

17 years agoAll modules which implement simplemodes (no parameters, not a list mode) can now...
brain [Sat, 2 Sep 2006 16:02:35 +0000 (16:02 +0000)]
All modules which implement simplemodes (no parameters, not a list mode) can now be UNLOADED O_o

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

17 years agoAny modules which were using VF_STATIC to indicate they implement a mode should chang...
brain [Sat, 2 Sep 2006 15:51:29 +0000 (15:51 +0000)]
Any modules which were using VF_STATIC to indicate they implement a mode should change this to VF_COMMON once they have the correct unload code

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

17 years agoAllow unloading of modules which implement modes!
brain [Sat, 2 Sep 2006 15:50:29 +0000 (15:50 +0000)]
Allow unloading of modules which implement modes!
The default implementation of the new system will remove simplemodes so any mode handler which is just a simple mode (no params and not a list mode) does not need to add much more than one line of code and remove its VF_STATIC flag.

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

17 years agoAdd chanrec::IsBanned() so that we dont have to keep walking the banlist in various...
brain [Sat, 2 Sep 2006 14:09:45 +0000 (14:09 +0000)]
Add chanrec::IsBanned() so that we dont have to keep walking the banlist in various modules and using match()

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

17 years agoException handling in most of userrec... not too fine grained yet however
brain [Fri, 1 Sep 2006 11:11:07 +0000 (11:11 +0000)]
Exception handling in most of userrec... not too fine grained yet however

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

17 years agoAdd snomask f (flood)
brain [Fri, 1 Sep 2006 10:46:57 +0000 (10:46 +0000)]
Add snomask f (flood)

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

17 years agoMade CountChannels faster. We use it in quite a few places. It's now O(1) rather...
brain [Thu, 31 Aug 2006 22:50:56 +0000 (22:50 +0000)]
Made CountChannels faster. We use it in quite a few places. It's now O(1) rather than O(n)

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

17 years agoPut some client quit stuff in cmd_quit into the Qq snomasks properly
brain [Thu, 31 Aug 2006 22:27:54 +0000 (22:27 +0000)]
Put some client quit stuff in cmd_quit into the Qq snomasks properly

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

17 years agoMake ban override notice only trigger when they actually match a ban :P
brain [Thu, 31 Aug 2006 22:04:54 +0000 (22:04 +0000)]
Make ban override notice only trigger when they actually match a ban :P
Alter all to use snomask O (oper override) which this module enables

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

17 years agoFix for bug #134 reported by mixx941: When user connects to ircd with no usermodes...
brain [Thu, 31 Aug 2006 21:47:57 +0000 (21:47 +0000)]
Fix for bug #134 reported by mixx941: When user connects to ircd with no usermodes set on themselves, an m_spanningtree std::string throws a range exception because we try and substr npos.

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

17 years agoForwardport fix from stable (bug#133 reported by insurgent): configuring a link block...
brain [Thu, 31 Aug 2006 16:43:35 +0000 (16:43 +0000)]
Forwardport fix from stable (bug#133 reported by insurgent): configuring a link block with the same name as the local server (?!) then linking to it causes segfault

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

17 years agoRemove extra/wrong qualifications, makes GCC 4.1 (at least) die
om [Thu, 31 Aug 2006 13:00:21 +0000 (13:00 +0000)]
Remove extra/wrong qualifications, makes GCC 4.1 (at least) die

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

17 years ago*thwap* om for not fixing the bugs he finds :p
brain [Thu, 31 Aug 2006 11:00:35 +0000 (11:00 +0000)]
*thwap* om for not fixing the bugs he finds :p

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

17 years agoIn this instance find is faster than rfind
brain [Wed, 30 Aug 2006 19:57:51 +0000 (19:57 +0000)]
In this instance find is faster than rfind

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

17 years agoAnd make it work here
brain [Wed, 30 Aug 2006 19:54:30 +0000 (19:54 +0000)]
And make it work here

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

17 years agoFix for parameters which contain a colon (which is not the first char in the string)
brain [Wed, 30 Aug 2006 19:53:45 +0000 (19:53 +0000)]
Fix for parameters which  contain a colon (which is not the first char in the string)

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

17 years agoRemove -v argument from install (openbsd doesnt like it) - thanks wyleniauy
brain [Wed, 30 Aug 2006 11:55:15 +0000 (11:55 +0000)]
Remove -v argument from install (openbsd doesnt like it) - thanks wyleniauy

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

17 years agoRemove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use
brain [Wed, 30 Aug 2006 09:51:50 +0000 (09:51 +0000)]
Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use

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

17 years agoWahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists
brain [Wed, 30 Aug 2006 09:03:03 +0000 (09:03 +0000)]
Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include lists

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

17 years agoAnnnd, get the fix right.
brain [Tue, 29 Aug 2006 21:45:27 +0000 (21:45 +0000)]
Annnd, get the fix right.

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

17 years agoFix for correct display when removing snomask
brain [Tue, 29 Aug 2006 21:41:30 +0000 (21:41 +0000)]
Fix for correct display when removing snomask

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

17 years agoPut servername in remote quits
brain [Tue, 29 Aug 2006 20:45:28 +0000 (20:45 +0000)]
Put servername in remote quits

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

17 years agoDocument SnomaskManager
brain [Tue, 29 Aug 2006 20:28:42 +0000 (20:28 +0000)]
Document SnomaskManager

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

17 years agoOnly send 008 when MODE Oper
brain [Tue, 29 Aug 2006 20:14:32 +0000 (20:14 +0000)]
Only send 008 when MODE Oper

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

17 years agoClarify message
brain [Tue, 29 Aug 2006 19:57:16 +0000 (19:57 +0000)]
Clarify message

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

17 years agoDon't silently drop modes that are oper only when a non-oper tries to set them -...
brain [Tue, 29 Aug 2006 19:52:02 +0000 (19:52 +0000)]
Don't silently drop modes that are oper only when a non-oper tries to set them - give a 481

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

17 years agoFDSFDSACFasfcas
brain [Tue, 29 Aug 2006 19:47:38 +0000 (19:47 +0000)]
FDSFDSACFasfcas

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

17 years agoFix typos
brain [Tue, 29 Aug 2006 19:47:19 +0000 (19:47 +0000)]
Fix typos

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

17 years agoMore snomask +o (unoper)
brain [Tue, 29 Aug 2006 19:46:48 +0000 (19:46 +0000)]
More snomask +o (unoper)

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

17 years agoSnomasks +k (kills) and +o (oper)
brain [Tue, 29 Aug 2006 19:44:46 +0000 (19:44 +0000)]
Snomasks +k (kills) and +o (oper)

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

17 years agoThe rest of snomask +x (i think)
brain [Tue, 29 Aug 2006 19:38:46 +0000 (19:38 +0000)]
The rest of snomask +x (i think)

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

17 years agoSnomask +l (linking) and some +x (XLINE)
brain [Tue, 29 Aug 2006 19:32:46 +0000 (19:32 +0000)]
Snomask +l (linking) and some +x (XLINE)

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

17 years ago+Q and +C (remote quit and connect) snomasks implemented
brain [Tue, 29 Aug 2006 19:17:20 +0000 (19:17 +0000)]
+Q and +C (remote quit and connect) snomasks implemented

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

17 years agoImplement messages for snomasks +cq (local connect, local quit)
brain [Tue, 29 Aug 2006 19:15:48 +0000 (19:15 +0000)]
Implement messages for snomasks +cq (local connect, local quit)

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

17 years agoRemove snomask n (nickchanges) - this will be a module when someone writes it
brain [Tue, 29 Aug 2006 19:13:29 +0000 (19:13 +0000)]
Remove snomask n (nickchanges) - this will be a module when someone writes it

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

17 years agoauto-set +s when +n is set (as +n requires +s) - allow +n to be 'set twice' allowing...
brain [Tue, 29 Aug 2006 19:12:05 +0000 (19:12 +0000)]
auto-set +s when +n is set (as +n requires +s) - allow +n to be 'set twice' allowing for snomask change without removal of +ns
Add default snomask chars

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

17 years agoSnomask support cometh! and it leave a sticky white mess all over the floor :(
brain [Tue, 29 Aug 2006 18:26:55 +0000 (18:26 +0000)]
Snomask support cometh! and it leave a sticky white mess all over the floor :(

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

17 years agoSpanningtree tidyups
brain [Tue, 29 Aug 2006 17:02:38 +0000 (17:02 +0000)]
Spanningtree tidyups
Start of SnomaskManager class

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

17 years agoHey, what the hell. Let's do remote ADMIN too. :)
w00t [Mon, 28 Aug 2006 23:36:30 +0000 (23:36 +0000)]
Hey, what the hell. Let's do remote ADMIN too. :)

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

17 years ago^*&^^)()%-
w00t [Mon, 28 Aug 2006 23:27:56 +0000 (23:27 +0000)]
^*&^^)()%-

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

17 years agoRemote MOTD support
w00t [Mon, 28 Aug 2006 23:23:09 +0000 (23:23 +0000)]
Remote MOTD support

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

17 years agoRemove blank lines from previous perl inplace edits
brain [Mon, 28 Aug 2006 19:39:59 +0000 (19:39 +0000)]
Remove blank lines from previous perl inplace edits

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

17 years agoMake oper-override notices a bit more grammar friendly, add an override notice to...
w00t [Mon, 28 Aug 2006 19:15:24 +0000 (19:15 +0000)]
Make oper-override notices a bit more grammar friendly, add an override notice to banwalk

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

17 years agoUpdate comment
brain [Mon, 28 Aug 2006 18:17:37 +0000 (18:17 +0000)]
Update comment

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

17 years agoZed, you are found guilty of over-assuming the IRC protocol and forcing ircd develope...
brain [Mon, 28 Aug 2006 18:01:43 +0000 (18:01 +0000)]
Zed, you are found guilty of over-assuming the IRC protocol and forcing ircd developers to sort lists during prefix adding. How do you plead.
SOD THAT, YOURE GUILTY!!!!!

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

17 years agoYOU KNOW I REALLY HATE IT WHEN CLIENT AUTHORS JUST MAKE ASSUMPTIONS ON THINGS LIKE...
brain [Mon, 28 Aug 2006 17:55:16 +0000 (17:55 +0000)]
YOU KNOW I REALLY HATE IT WHEN CLIENT AUTHORS JUST MAKE ASSUMPTIONS ON THINGS LIKE "oh all prefixes in NAMESX will always be in rank order".
So tell me, zed, where the FUCK does it say that? huh?!

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

17 years agoHint of the day: When you have a function that can return a bool, dont mix up the...
brain [Mon, 28 Aug 2006 17:39:25 +0000 (17:39 +0000)]
Hint of the day: When you have a function that can return a bool, dont mix up the true and false returns.

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

17 years agoMove trailing space stripping to only strip from non-last-item values (dont ask)
brain [Mon, 28 Aug 2006 16:45:05 +0000 (16:45 +0000)]
Move trailing space stripping to only strip from non-last-item values (dont ask)

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

17 years agoCheck for muppet 3rdparty apps that might not order the list correctly
brain [Mon, 28 Aug 2006 16:02:39 +0000 (16:02 +0000)]
Check for muppet 3rdparty apps that might not order the list correctly

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

17 years agoError scemantics - 'this' server, 'your' server
brain [Mon, 28 Aug 2006 15:59:19 +0000 (15:59 +0000)]
Error scemantics - 'this' server, 'your' server

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

17 years agoModule list diffing
brain [Mon, 28 Aug 2006 15:55:21 +0000 (15:55 +0000)]
Module list diffing

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

17 years agoCapab matching on important keys, and module lists
brain [Mon, 28 Aug 2006 15:28:27 +0000 (15:28 +0000)]
Capab matching on important keys, and module lists

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

17 years agoFix ping timeouts to properly close and free the socket, same with /SQUIT
brain [Mon, 28 Aug 2006 13:49:49 +0000 (13:49 +0000)]
Fix ping timeouts to properly close and free the socket, same with /SQUIT

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

17 years agogcc whinges.
brain [Mon, 28 Aug 2006 13:38:44 +0000 (13:38 +0000)]
gcc whinges.

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

17 years agoAdd DelFd calls when squitting a server or pinging it out
brain [Mon, 28 Aug 2006 13:37:57 +0000 (13:37 +0000)]
Add DelFd calls when squitting a server or pinging it out

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

17 years agoConnect timeouts now work again, using InspSocket
brain [Mon, 28 Aug 2006 13:32:20 +0000 (13:32 +0000)]
Connect timeouts now work again, using InspSocket

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

17 years agoNote: connect() cant time out for inspsockets in this commit. They'll sit in memory...
brain [Mon, 28 Aug 2006 13:01:19 +0000 (13:01 +0000)]
Note: connect() cant time out for inspsockets in this commit. They'll sit in memory forever -- if you want something actually working properly wait for the next commit

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

17 years agoAdd support for NAMESX
brain [Mon, 28 Aug 2006 01:02:41 +0000 (01:02 +0000)]
Add support for NAMESX
Tidy up m_alias blank lines
Add m_namesx.so to example conf (no extra config tags required for it, it "just works")

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

17 years agoBail out if we get a non-existent user
brain [Sun, 27 Aug 2006 13:07:45 +0000 (13:07 +0000)]
Bail out if we get a non-existent user

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

17 years agoFixes for w00t, now its boo time :)
brain [Sun, 27 Aug 2006 02:39:35 +0000 (02:39 +0000)]
Fixes for w00t, now its boo time :)

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

17 years agoFix mode granting in FJOIN
brain [Sun, 27 Aug 2006 02:34:25 +0000 (02:34 +0000)]
Fix mode granting in FJOIN

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

17 years agoI only fix stuff at 3:30am if im asked nicely and now im too tired to think any more :p
brain [Sun, 27 Aug 2006 02:30:36 +0000 (02:30 +0000)]
I only fix stuff at 3:30am if im asked nicely and now im too tired to think any more :p

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

17 years agoExtra sanity checks
brain [Sun, 27 Aug 2006 00:53:50 +0000 (00:53 +0000)]
Extra sanity checks

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

17 years agoSometimes we were just doing Route->GetSock(), without first checking Route was non...
brain [Sun, 27 Aug 2006 00:43:33 +0000 (00:43 +0000)]
Sometimes we were just doing Route->GetSock(), without first checking Route was non-null.
Instead, do "if (Route && Route->GetSock())" in a few places. This should make stuff water-tight

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

17 years agoOverloaded char* equivalents of some core functions, will help us track down how...
brain [Sun, 27 Aug 2006 00:39:47 +0000 (00:39 +0000)]
Overloaded char* equivalents of some core functions, will help us track down how the CRAP a stack-allocated std::string can be null?

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

17 years agoTidyup, multiple inheritence from base class to avoid code duplication in the two...
brain [Fri, 25 Aug 2006 22:59:21 +0000 (22:59 +0000)]
Tidyup, multiple inheritence from base class to avoid code duplication in the two modehandler classes

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

17 years agoRemove On005Numeric event from a ton of modules which no longer need it (as CHANMODES...
brain [Fri, 25 Aug 2006 22:23:06 +0000 (22:23 +0000)]
Remove On005Numeric event from a ton of modules which no longer need it (as CHANMODES= part of 005 is now automatically done)

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

17 years agoFix changing of idents and hosts (it wasnt working -- in fact WriteCommon was sort...
brain [Fri, 25 Aug 2006 20:18:43 +0000 (20:18 +0000)]
Fix changing of idents and hosts (it wasnt working -- in fact WriteCommon was sort of BROKEN AS HELL)

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

17 years agoAdd userrec::ChangeIdent (which we were missing) which can emulate the quit/rejoin...
brain [Fri, 25 Aug 2006 19:02:18 +0000 (19:02 +0000)]
Add userrec::ChangeIdent (which we were missing) which can emulate the quit/rejoin same as ChangeDisplayedHost

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

17 years agoAdd <options:cyclehosts> which allows a user to appear to have quit when their host...
brain [Fri, 25 Aug 2006 13:42:19 +0000 (13:42 +0000)]
Add <options:cyclehosts> which allows a user to appear to have quit when their host changes, so that clients/bots can stay synched properly.
It is recommended this option always be on.

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

17 years agoAdded leachim's +qa prefix patch
brain [Fri, 25 Aug 2006 12:04:32 +0000 (12:04 +0000)]
Added leachim's +qa prefix patch

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

17 years agoRemove OnPostConnect here, it was being used under the assumption that it still did...
brain [Thu, 24 Aug 2006 18:12:51 +0000 (18:12 +0000)]
Remove OnPostConnect here, it was being used under the assumption that it still did global connects

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

17 years agoSpeaking of forgetting things, someone forgot to change the name of the function
special [Thu, 24 Aug 2006 18:11:35 +0000 (18:11 +0000)]
Speaking of forgetting things, someone forgot to change the name of the function

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

17 years agoSomeone forgot another :p
brain [Thu, 24 Aug 2006 18:10:26 +0000 (18:10 +0000)]
Someone forgot another :p

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

17 years agoMoved an ipv6-only variable in userrec::GetIPString into the SUPPORT_IP6LINKS define...
special [Thu, 24 Aug 2006 18:08:05 +0000 (18:08 +0000)]
Moved an ipv6-only variable in userrec::GetIPString into the SUPPORT_IP6LINKS define to get rid of a warning

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

17 years agoSomebody forgot one :p
brain [Thu, 24 Aug 2006 18:05:13 +0000 (18:05 +0000)]
Somebody forgot one :p

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

17 years agoRenamed the OnGlobalConnect callback to OnPostConnect, which is much more appropriate
special [Thu, 24 Aug 2006 18:02:46 +0000 (18:02 +0000)]
Renamed the OnGlobalConnect callback to OnPostConnect, which is much more appropriate

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

17 years agoWhen the mode sequence doesnt start with + or -, assume a +
brain [Thu, 24 Aug 2006 16:06:51 +0000 (16:06 +0000)]
When the mode sequence doesnt start with + or -, assume a +

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

17 years agoCheck for missing comma in FJOIN element
brain [Thu, 24 Aug 2006 00:39:53 +0000 (00:39 +0000)]
Check for missing comma in FJOIN element

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

17 years agoModeParser::InsertMode is no longer required -- this is auto-generated by the ModePar...
brain [Wed, 23 Aug 2006 22:34:58 +0000 (22:34 +0000)]
ModeParser::InsertMode is no longer required -- this is auto-generated by the ModeParser based on what modes are registered and wether or not they have certain attributes

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