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

17 years agoDocument ModeParser::FindPrefix() and chanrec::GetAllPrefixes()
brain [Wed, 23 Aug 2006 22:03:05 +0000 (22:03 +0000)]
Document ModeParser::FindPrefix() and chanrec::GetAllPrefixes()

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

17 years agoForgot the comma in first join
brain [Wed, 23 Aug 2006 21:44:03 +0000 (21:44 +0000)]
Forgot the comma in first join

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

17 years agoIf we get an unknown prefix character on a user when they join, we throw a fit and...
brain [Wed, 23 Aug 2006 21:43:32 +0000 (21:43 +0000)]
If we get an unknown prefix character on a user when they join, we throw a fit and close the connection

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

17 years agoCheck for illegal mode prefixes in AddMode (':' and ',')
brain [Wed, 23 Aug 2006 21:36:54 +0000 (21:36 +0000)]
Check for illegal mode prefixes in AddMode (':' and ',')
We should *probably* check to make sure their rank value doesnt conflict with another modules, too

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

17 years agoMulti-prefix FJOIN, and allowing module-defined prefixes across the network
brain [Wed, 23 Aug 2006 21:34:04 +0000 (21:34 +0000)]
Multi-prefix FJOIN, and allowing module-defined prefixes across the network

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

17 years agoFix and finish 005 numeric. PREFIX= is now calculated automatically if you add any...
brain [Wed, 23 Aug 2006 21:16:02 +0000 (21:16 +0000)]
Fix and finish 005 numeric. PREFIX= is now calculated automatically if you add any prefixes.
You do not need to mess with the numeric yourself.

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

17 years agoMore prefixchar stuff.
brain [Wed, 23 Aug 2006 21:09:49 +0000 (21:09 +0000)]
More prefixchar stuff.
WARNING: 005 numeric is broken in this commit.

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

17 years agoDocument mode prefixes
brain [Wed, 23 Aug 2006 20:50:20 +0000 (20:50 +0000)]
Document mode prefixes

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

17 years agoSpotted problem: must clear out all prefixes attached to a user when they quit or...
brain [Wed, 23 Aug 2006 20:29:09 +0000 (20:29 +0000)]
Spotted problem: must clear out all prefixes attached to a user when they quit or leave a channel
Next thing to do, consider removing of opped_userlist, halfopped_userlist and voiced_userlist as this data is now in the prefixlist

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

17 years agoMode handlers handling listmodes where a listmode item is a nickname can now specify...
brain [Wed, 23 Aug 2006 20:20:41 +0000 (20:20 +0000)]
Mode handlers handling listmodes where a listmode item is a nickname can now specify prefixes!!!!!!
This isnt documented yet.

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

17 years agoInherit ModuleMessage from Extensible, so users can Extend and Shrink it.
brain [Wed, 23 Aug 2006 09:33:30 +0000 (09:33 +0000)]
Inherit ModuleMessage from Extensible, so users can Extend and Shrink it.

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

17 years agoPoor old Ian Gulliver :p Finally got his credit here
brain [Mon, 21 Aug 2006 14:10:06 +0000 (14:10 +0000)]
Poor old Ian Gulliver :p Finally got his credit here

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

17 years agoIn 1.1, place all FJOIN parameters in the last parameter of the FJOIN - if there...
brain [Mon, 21 Aug 2006 12:17:55 +0000 (12:17 +0000)]
In 1.1, place all FJOIN parameters in the last parameter of the FJOIN - if there is more than one user joining, prefix with a colon.
This way we're not limited to ~12 users per FJOIN command.

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

17 years agoMake it virtual, in case someone ever wants to make a derived version of it
brain [Sat, 19 Aug 2006 00:51:13 +0000 (00:51 +0000)]
Make it virtual, in case someone ever wants to make a derived version of it

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

17 years agoExtra comments about how the FileLogger class schedules its own write events if all...
brain [Sat, 19 Aug 2006 00:50:11 +0000 (00:50 +0000)]
Extra comments about how the FileLogger class schedules its own write events if all the data is not written

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

17 years agoMissing vector.h
brain [Sat, 19 Aug 2006 00:31:18 +0000 (00:31 +0000)]
Missing vector.h

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

17 years agoI hate this header
brain [Sat, 19 Aug 2006 00:23:15 +0000 (00:23 +0000)]
I hate this header

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

17 years agoAdd multimap
brain [Sat, 19 Aug 2006 00:22:51 +0000 (00:22 +0000)]
Add multimap

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

17 years agoMore tweaks
brain [Sat, 19 Aug 2006 00:20:54 +0000 (00:20 +0000)]
More tweaks

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

17 years agoFixed makefile
brain [Sat, 19 Aug 2006 00:18:12 +0000 (00:18 +0000)]
Fixed makefile

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

17 years agoChanged modes/ makefile (not yet tested)
brain [Sat, 19 Aug 2006 00:14:18 +0000 (00:14 +0000)]
Changed modes/ makefile (not yet tested)

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