]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoAdd extban +b S:, strips colours, same as chmode +S
w00t [Mon, 21 Jul 2008 16:45:34 +0000 (16:45 +0000)]
Add extban +b S:, strips colours, same as chmode +S

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

15 years agoAdd extban +b Q: - prevents matching users from kicking
w00t [Mon, 21 Jul 2008 16:42:16 +0000 (16:42 +0000)]
Add extban +b Q: - prevents matching users from kicking

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

15 years agoAdd extban +b T:, prevents /notice to channel, same as chmode +T
w00t [Mon, 21 Jul 2008 16:40:22 +0000 (16:40 +0000)]
Add extban +b T:, prevents /notice to channel, same as chmode +T

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

15 years agoAdd CHANOPS_EXEMPT support to m_noinvite, also add +b V: extban
w00t [Mon, 21 Jul 2008 16:36:20 +0000 (16:36 +0000)]
Add CHANOPS_EXEMPT support to m_noinvite, also add +b V: extban

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

15 years agoAdd extban +b c: - blocks colour from matching users, same as chmode +c
w00t [Mon, 21 Jul 2008 16:31:45 +0000 (16:31 +0000)]
Add extban +b c: - blocks colour from matching users, same as chmode +c

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

15 years agoAdd extban +b B: - matching users may not use caps, same as chmode +B (or +P in 1.1)
w00t [Mon, 21 Jul 2008 16:29:47 +0000 (16:29 +0000)]
Add extban +b B: - matching users may not use caps, same as chmode +B (or +P in 1.1)

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

15 years agochanged my email address
pippijn [Sun, 20 Jul 2008 17:46:49 +0000 (17:46 +0000)]
changed my email address

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

15 years agoRemoved excess spaces before some lines in /info - thanks psychon
special [Sun, 20 Jul 2008 17:05:26 +0000 (17:05 +0000)]
Removed excess spaces before some lines in /info - thanks psychon

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

15 years agoAlter prompt to indicate that multiple tests can be queued by entering multiple choices
brain [Sun, 20 Jul 2008 16:08:02 +0000 (16:08 +0000)]
Alter prompt to indicate that multiple tests can be queued by entering multiple choices

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

15 years agoFix output corruption on startup if ports fail to bind, spotted by psychon
brain [Sun, 20 Jul 2008 16:00:17 +0000 (16:00 +0000)]
Fix output corruption on startup if ports fail to bind, spotted by psychon

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

15 years agoRemove custom members for +lk storage
w00t [Sun, 20 Jul 2008 14:30:00 +0000 (14:30 +0000)]
Remove custom members for +lk storage

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

15 years ago304 -> RPL_SYNTAX
brain [Sun, 20 Jul 2008 12:19:30 +0000 (12:19 +0000)]
304 -> RPL_SYNTAX

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

15 years agoFixes to make win32 build again
brain [Sun, 20 Jul 2008 11:21:39 +0000 (11:21 +0000)]
Fixes to make win32 build again

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

15 years agois rfc of sorts
w00t [Sun, 20 Jul 2008 09:51:52 +0000 (09:51 +0000)]
is rfc of sorts

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

15 years agoMore numerics.h conversion
w00t [Sun, 20 Jul 2008 09:37:09 +0000 (09:37 +0000)]
More numerics.h conversion

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

15 years agoFix potential off-by-one on large reads (thanks psychon)
w00t [Sun, 20 Jul 2008 09:15:01 +0000 (09:15 +0000)]
Fix potential off-by-one on large reads (thanks psychon)

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

15 years agoFixes to some stuff that writes on memory it shouldn't (thanks psychon).
w00t [Sun, 20 Jul 2008 08:53:56 +0000 (08:53 +0000)]
Fixes to some stuff that writes on memory it shouldn't (thanks psychon).

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

15 years agoFix total mess of makefile dependency macros (all depending on stuff they dont NEED...
brain [Sat, 19 Jul 2008 23:48:06 +0000 (23:48 +0000)]
Fix total mess of makefile dependency macros (all depending on stuff they dont NEED to depend on)
and fix includes in all of m_spanningtree (everything including just about everything, doesnt need to)

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

15 years agoFix the 4-byte read madness discovered by psychon
brain [Sat, 19 Jul 2008 23:19:23 +0000 (23:19 +0000)]
Fix the 4-byte read madness discovered by psychon

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

15 years agoFix broken build
w00t [Sat, 19 Jul 2008 21:56:01 +0000 (21:56 +0000)]
Fix broken build

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

15 years agoChange modes in channels and users to use std::bitset instead of an array. This saves...
w00t [Sat, 19 Jul 2008 20:34:14 +0000 (20:34 +0000)]
Change modes in channels and users to use std::bitset instead of an array. This saves 56 bytes per channel, and 112 bytes per channel, with no loss in speed or ease of use in code. :). Thanks (VERY) much to Special for telling me about this.

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

15 years agoFix compile. Also remove write error stuff, as that was used prior to the goodness...
w00t [Sat, 19 Jul 2008 19:17:15 +0000 (19:17 +0000)]
Fix compile. Also remove write error stuff, as that was used prior to the goodness of global culllist. This makes getting user's quit messages to them (on excess recvq etc) much easier.

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

15 years agoUse a switch (cleaner, probably more efficient) for user status here, also, we can...
w00t [Sat, 19 Jul 2008 18:42:53 +0000 (18:42 +0000)]
Use a switch (cleaner, probably more efficient) for user status here, also, we can remove another member (::timeout) that is only actually used before registration by doing a bit of addition.

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

15 years agoRemove totally unused member, saving sizeof(unsigned int) per user record
w00t [Sat, 19 Jul 2008 18:22:09 +0000 (18:22 +0000)]
Remove totally unused member, saving sizeof(unsigned int) per user record

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

15 years agoHook OnUserPreKick and disallow kick on +k users also
w00t [Sat, 19 Jul 2008 11:11:59 +0000 (11:11 +0000)]
Hook OnUserPreKick and disallow kick on +k users also

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

15 years agoSpaces to tabs, EXORCISE THE DEMON. Thanks psychon.
w00t [Sat, 19 Jul 2008 10:55:11 +0000 (10:55 +0000)]
Spaces to tabs, EXORCISE THE DEMON. Thanks psychon.

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

15 years agojackmcbarn's patch left something out
brain [Sat, 19 Jul 2008 00:38:00 +0000 (00:38 +0000)]
jackmcbarn's patch left something out

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

15 years agoCrash fix from jackmcbarn, thanks, fixes bug #578
brain [Sat, 19 Jul 2008 00:33:07 +0000 (00:33 +0000)]
Crash fix from jackmcbarn, thanks, fixes bug #578

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

15 years agoSet parent to empty if there is no parent, pippijn, does this fix your duplicate...
w00t [Fri, 18 Jul 2008 17:50:17 +0000 (17:50 +0000)]
Set parent to empty if there is no parent, pippijn, does this fix your duplicate links?

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

15 years agoOkay. This will probably break *everything*, but hey. Use static linking (JUST) for...
w00t [Fri, 18 Jul 2008 17:13:10 +0000 (17:13 +0000)]
Okay. This will probably break *everything*, but hey. Use static linking (JUST) for the main binary. This has advantages in terms of shorter compile time and in slightly reduced file size used, so it is worth it. Configure is also a tiny bit simpler in some ways, so.

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

15 years agoImplement <disabled:usermodes> and <disabled:chanmodes>.
aquanight [Fri, 18 Jul 2008 15:29:58 +0000 (15:29 +0000)]
Implement <disabled:usermodes> and <disabled:chanmodes>.

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

15 years agoCombine IP+port in a failed port list, show (the more helpful) error string so the...
w00t [Thu, 17 Jul 2008 20:07:58 +0000 (20:07 +0000)]
Combine IP+port in a failed port list, show (the more helpful) error string so the user can have some idea of what actually went wrong.. why we forced people to strace is beyond me..

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

15 years agoSend strerror() on all socket error messages, this should help diagnose problems...
w00t [Thu, 17 Jul 2008 11:55:30 +0000 (11:55 +0000)]
Send strerror() on all socket error messages, this should help diagnose problems a lot easier

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

15 years agoFix parts being screwed up, thanks psychon
w00t [Wed, 16 Jul 2008 11:58:28 +0000 (11:58 +0000)]
Fix parts being screwed up, thanks psychon

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

15 years agoFixed example MOTD which was a bit screwed up, thanks psychon
w00t [Wed, 16 Jul 2008 11:57:22 +0000 (11:57 +0000)]
Fixed example MOTD which was a bit screwed up, thanks psychon

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

15 years agoAdd psychon to regular contributors
w00t [Wed, 16 Jul 2008 09:57:21 +0000 (09:57 +0000)]
Add psychon to regular contributors

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

15 years agoApplied patch by psychon to make AddExtBanChar correctly take a single char
special [Wed, 16 Jul 2008 09:50:23 +0000 (09:50 +0000)]
Applied patch by psychon to make AddExtBanChar correctly take a single char

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

15 years agoSend ERR_NOTREGISTERED to clients that send SERVER on a client port with a text that...
w00t [Tue, 15 Jul 2008 13:32:28 +0000 (13:32 +0000)]
Send ERR_NOTREGISTERED to clients that send SERVER on a client port with a text that tells them what they are doing wrong. Should help them debug it themselves.

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

15 years agoAdd reference to wiki CIDR tutorial in <cidr> docs.
om [Mon, 14 Jul 2008 16:22:29 +0000 (16:22 +0000)]
Add reference to wiki CIDR tutorial in <cidr> docs.

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

15 years agoRemove unneccessary temp value which caused a win32 problem by using uint32_t type.
om [Mon, 14 Jul 2008 14:55:16 +0000 (14:55 +0000)]
Remove unneccessary temp value which caused a win32 problem by using uint32_t type.

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

15 years agoAdd extban types +bb R: and M: - stops matching account masks from joining and speaki...
w00t [Mon, 14 Jul 2008 12:58:44 +0000 (12:58 +0000)]
Add extban types +bb R: and M: - stops matching account masks from joining and speaking respectively

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

15 years agoRename quietban to muteban, change character to +b m:, this way it fits with cmode...
w00t [Mon, 14 Jul 2008 12:15:11 +0000 (12:15 +0000)]
Rename quietban to muteban, change character to +b m:, this way it fits with cmode +m, which is what it does.

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

15 years agoMerge m_nickban into m_nonicks
w00t [Mon, 14 Jul 2008 12:09:40 +0000 (12:09 +0000)]
Merge m_nickban into m_nonicks

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

15 years agoAdd InspIRCd::AddExtBanChar() to avoid copypasta.
w00t [Mon, 14 Jul 2008 11:53:07 +0000 (11:53 +0000)]
Add InspIRCd::AddExtBanChar() to avoid copypasta.

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

15 years agoMore broken compile stuff
w00t [Mon, 14 Jul 2008 08:28:23 +0000 (08:28 +0000)]
More broken compile stuff

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

15 years agoFix compile
w00t [Mon, 14 Jul 2008 08:25:59 +0000 (08:25 +0000)]
Fix compile

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

15 years agoLots, lots more numerics.h conversion
w00t [Mon, 14 Jul 2008 07:24:37 +0000 (07:24 +0000)]
Lots, lots more numerics.h conversion

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

15 years agoConvert more stuff to use numerics.h, change SERVER to send ERR_ALREADYREGISTERED...
w00t [Sun, 13 Jul 2008 22:57:45 +0000 (22:57 +0000)]
Convert more stuff to use numerics.h, change SERVER to send ERR_ALREADYREGISTERED instead of picking a random numeric. Also no longer send a notice to opers, as 1) this could flood and 2) stupid things like cgiirc will trigger this a lot. Additionally, add a note to REHASH about finding a way to kill rehash thread if needed.

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

15 years agoFix indentation to look right
brain [Sun, 13 Jul 2008 20:40:09 +0000 (20:40 +0000)]
Fix indentation to look right
Fix 008 and 042 to be correct (not invalid octal)
Change documentation of 501

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

15 years agoMore conversion, and a note to client coders.
w00t [Sun, 13 Jul 2008 19:58:28 +0000 (19:58 +0000)]
More conversion, and a note to client coders.

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

15 years agoConvertage.
w00t [Sun, 13 Jul 2008 19:34:55 +0000 (19:34 +0000)]
Convertage.

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

15 years agoConvert, convert, convert
w00t [Sun, 13 Jul 2008 19:24:38 +0000 (19:24 +0000)]
Convert, convert, convert

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

15 years agoConvert a bunch of crap
w00t [Sun, 13 Jul 2008 19:19:15 +0000 (19:19 +0000)]
Convert a bunch of crap

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

15 years agoFinish channels.cpp conversion to numerics list
w00t [Sun, 13 Jul 2008 19:05:31 +0000 (19:05 +0000)]
Finish channels.cpp conversion to numerics list

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

15 years agoAdd include/numerics.h, contains/will contain an enum for numerics. Work in progress.
w00t [Sun, 13 Jul 2008 19:01:17 +0000 (19:01 +0000)]
Add include/numerics.h, contains/will contain an enum for numerics. Work in progress.

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

15 years agoFix order of arguments, this means that ban exceptions for extbans actually work...
w00t [Sun, 13 Jul 2008 17:54:16 +0000 (17:54 +0000)]
Fix order of arguments, this means that ban exceptions for extbans actually work again

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

15 years agoDefault to adding uppercase characters to allowed hostmap list, this has caught a...
w00t [Sun, 13 Jul 2008 17:30:23 +0000 (17:30 +0000)]
Default to adding uppercase characters to allowed hostmap list, this has caught a few people out (including me)

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

15 years agoIndentation tweak
brain [Sun, 13 Jul 2008 10:34:43 +0000 (10:34 +0000)]
Indentation tweak

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

15 years agoFixed #568 - gnutls does not allow reuse of credentials, which was making /rehash...
special [Sat, 12 Jul 2008 23:26:45 +0000 (23:26 +0000)]
Fixed #568 - gnutls does not allow reuse of credentials, which was making /rehash ssl not work properly

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

15 years agoAnd, just because I can. The one pointless one-liner of the evening. :p
w00t [Sat, 12 Jul 2008 22:01:45 +0000 (22:01 +0000)]
And, just because I can. The one pointless one-liner of the evening. :p

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

15 years agoAdd a snotice about time jumping by more than a second at a time, and move both this...
w00t [Sat, 12 Jul 2008 22:00:46 +0000 (22:00 +0000)]
Add a snotice about time jumping by more than a second at a time, and move both this and time skew notice into debug snomask

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

15 years agoRemove some long commented out code: we never used to start unless a client port...
w00t [Sat, 12 Jul 2008 21:57:39 +0000 (21:57 +0000)]
Remove some long commented out code: we never used to start unless a client port was bound

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

15 years agoRemove a slightly odd comment
w00t [Sat, 12 Jul 2008 21:52:28 +0000 (21:52 +0000)]
Remove a slightly odd comment

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

15 years agopeavey already fixed this with climits include, remove limits.h. Keep the warning...
w00t [Sat, 12 Jul 2008 21:49:45 +0000 (21:49 +0000)]
peavey already fixed this with climits include, remove limits.h. Keep the warning, though.

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

15 years agoAllow opers to view modelists regardless of <security:hidemodelists>
w00t [Sat, 12 Jul 2008 21:41:29 +0000 (21:41 +0000)]
Allow opers to view modelists regardless of <security:hidemodelists>

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

15 years agoDocument m_gecosban
w00t [Sat, 12 Jul 2008 21:38:44 +0000 (21:38 +0000)]
Document m_gecosban

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

15 years agoRemove debug
w00t [Sat, 12 Jul 2008 21:35:33 +0000 (21:35 +0000)]
Remove debug

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

15 years agoAdd support for ban exceptions on non-user extbans (e.g, +be r:*lol* r:lol?is?gay...
w00t [Sat, 12 Jul 2008 21:30:44 +0000 (21:30 +0000)]
Add support for ban exceptions on non-user extbans (e.g, +be r:*lol* r:lol?is?gay will now hopefully work)

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

15 years agoMake m_gecosban work. We can't make assumptions about how an extban banmask must...
w00t [Sat, 12 Jul 2008 21:25:11 +0000 (21:25 +0000)]
Make m_gecosban work. We can't make assumptions about how an extban banmask must look, as they won't necessarily be a usermask type affair. :(

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

15 years agoDebug
w00t [Sat, 12 Jul 2008 21:14:33 +0000 (21:14 +0000)]
Debug

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

15 years agoAdd m_gecosban, implements extban +b r: - hostname bans.
w00t [Sat, 12 Jul 2008 21:10:15 +0000 (21:10 +0000)]
Add m_gecosban, implements extban +b r: - hostname bans.

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

15 years agoOkay, and there's the working version of it. Extbans that don't work on users have...
w00t [Sat, 12 Jul 2008 20:53:19 +0000 (20:53 +0000)]
Okay, and there's the working version of it. Extbans that don't work on users have OnCheckStringExtBan. ;p

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

15 years agoOverload IsExtBanned to provide a *string matching* version, this finally opens the...
w00t [Sat, 12 Jul 2008 20:38:14 +0000 (20:38 +0000)]
Overload IsExtBanned to provide a *string matching* version, this finally opens the way for non-hostmask based extbans, which is good ;p. On the downside, this requires rethinking of the extban exemption stuff I did yesterday.

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

15 years agoFix for bug #569, thanks dz.
w00t [Sat, 12 Jul 2008 20:24:06 +0000 (20:24 +0000)]
Fix for bug #569, thanks dz.

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

15 years agoChange sprintf to snprintf, just in case; Update comments.
om [Sat, 12 Jul 2008 15:42:30 +0000 (15:42 +0000)]
Change sprintf to snprintf, just in case; Update comments.

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

15 years agoIncrease static buffer size to 44 to account for a full IPv6 CIDR mask: 1111:1111...
om [Sat, 12 Jul 2008 15:33:19 +0000 (15:33 +0000)]
Increase static buffer size to 44 to account for a full IPv6 CIDR mask: 1111:1111:1111:1111:1111:1111:1111:1111/128 + null terminator. Also remove newlines in returned mask.

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

15 years agoRemove 'global' from gline description, add 'local' to KLine description. Thanks...
w00t [Sat, 12 Jul 2008 14:47:50 +0000 (14:47 +0000)]
Remove 'global' from gline description, add 'local' to KLine description. Thanks Namegduf. :)

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

15 years agoAdd CIDR mask use to m_connectban, detection and banning may now happen over IP range...
w00t [Sat, 12 Jul 2008 14:37:24 +0000 (14:37 +0000)]
Add CIDR mask use to m_connectban, detection and banning may now happen over IP ranges instead of individual IPs.

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

15 years agoScary.. CIDR range clone checking for <connect> tags.
w00t [Sat, 12 Jul 2008 14:11:57 +0000 (14:11 +0000)]
Scary.. CIDR range clone checking for <connect> tags.

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

15 years agoAdd <cidr> block, and documentation in example config.
w00t [Sat, 12 Jul 2008 13:58:37 +0000 (13:58 +0000)]
Add <cidr> block, and documentation in example config.

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

15 years agoCleanup of some of the new CIDR code: compiles but untested; Also: My first commit...
om [Sat, 12 Jul 2008 12:28:25 +0000 (12:28 +0000)]
Cleanup of some of the new CIDR code: compiles but untested; Also: My first commit for a very long time

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

15 years agoConvert SVSHOLD to use the new XLine framework
w00t [Sat, 12 Jul 2008 11:24:17 +0000 (11:24 +0000)]
Convert SVSHOLD to use the new XLine framework

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

15 years agoFix m_cban /stats C, broken after the XLine conversion some months ago
w00t [Sat, 12 Jul 2008 11:03:12 +0000 (11:03 +0000)]
Fix m_cban /stats C, broken after the XLine conversion some months ago

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

15 years agoDelete all XLines when destroying module
w00t [Sat, 12 Jul 2008 11:01:45 +0000 (11:01 +0000)]
Delete all XLines when destroying module

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

15 years agoAdd XLineManager::DelAll to delete all lines of a given type.
w00t [Sat, 12 Jul 2008 10:53:31 +0000 (10:53 +0000)]
Add XLineManager::DelAll to delete all lines of a given type.

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

15 years agoDon't add a 10 second penalty to all connecting users (this was accidental)
w00t [Sat, 12 Jul 2008 10:44:14 +0000 (10:44 +0000)]
Don't add a 10 second penalty to all connecting users (this was accidental)

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

15 years agoAdd .example suffix to name
w00t [Sat, 12 Jul 2008 10:41:40 +0000 (10:41 +0000)]
Add .example suffix to name

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

15 years agoCopy new conf location and seperate modules.conf on install
w00t [Sat, 12 Jul 2008 10:40:59 +0000 (10:40 +0000)]
Copy new conf location and seperate modules.conf on install

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

15 years agoAdd <gecos> field to <server> in XML stats output, also add to ProtoServer. Fixes...
w00t [Sat, 12 Jul 2008 10:39:03 +0000 (10:39 +0000)]
Add <gecos> field to <server> in XML stats output, also add to ProtoServer. Fixes part of bug #571, reported by Majic.

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

15 years agoSplit example conf into example conf and modules conf, include modules conf from...
w00t [Sat, 12 Jul 2008 10:24:19 +0000 (10:24 +0000)]
Split example conf into example conf and modules conf, include modules conf from the main example. This should provide a slightly less heavy introduction to things.

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

15 years agoMove example conf to conf/ directory, it makes more sense given all the others are...
w00t [Sat, 12 Jul 2008 10:19:56 +0000 (10:19 +0000)]
Move example conf to conf/ directory, it makes more sense given all the others are here.

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

15 years agoImplement suggestion from Stealth in bug #572: expand <channeltopic> tag into a subse...
w00t [Sat, 12 Jul 2008 10:16:58 +0000 (10:16 +0000)]
Implement suggestion from Stealth in bug #572: expand <channeltopic> tag into a subsection storing text, setter and set time

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

15 years agoDon't broadcast CHANCREATE snotice if channel is +P, fixes second half of bug #565...
w00t [Sat, 12 Jul 2008 10:12:51 +0000 (10:12 +0000)]
Don't broadcast CHANCREATE snotice if channel is +P, fixes second half of bug #565, thanks Aleksi for both of these

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

15 years agoDelete channel on -P if usercount is 0, fixes part of #565
w00t [Sat, 12 Jul 2008 10:11:13 +0000 (10:11 +0000)]
Delete channel on -P if usercount is 0, fixes part of #565

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

15 years agoFix for bug #541: /taxonomy reporting metadata for incorrect user. Can someone please...
w00t [Sat, 12 Jul 2008 09:59:39 +0000 (09:59 +0000)]
Fix for bug #541: /taxonomy reporting metadata for incorrect user. Can someone please test?

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

15 years agoFix a memory leak in m_mysql, found and patched by Dart in bug #570 - thanks
w00t [Sat, 12 Jul 2008 09:51:38 +0000 (09:51 +0000)]
Fix a memory leak in m_mysql, found and patched by Dart in bug #570 - thanks

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

15 years agoFix for #564
w00t [Sat, 12 Jul 2008 09:43:58 +0000 (09:43 +0000)]
Fix for #564

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

15 years agoRemove individual read buffers inside of BufferedSocket, use the shared netbuffer...
w00t [Sat, 12 Jul 2008 09:13:06 +0000 (09:13 +0000)]
Remove individual read buffers inside of BufferedSocket, use the shared netbuffer instead, like users. This means a 65kb saving per BufferedSocket.

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

15 years agoAdd User::GetCIDRMask(int range), will be used for CIDR throttling, etc. Also probabl...
w00t [Sat, 12 Jul 2008 08:57:44 +0000 (08:57 +0000)]
Add User::GetCIDRMask(int range), will be used for CIDR throttling, etc. Also probably opens up the way for /gline nickname to place CIDR bans instead of regular bans, which could be helpful. Much thanks to Om for his help.

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

15 years agoExtended ban exceptions (untested, probably will explode as I'm tired..)
w00t [Fri, 11 Jul 2008 21:34:45 +0000 (21:34 +0000)]
Extended ban exceptions (untested, probably will explode as I'm tired..)

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