]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoUpdate all wiki links to point to the new wiki. This was done automatically with...
psychon [Sun, 15 Mar 2009 12:42:35 +0000 (12:42 +0000)]
Update all wiki links to point to the new wiki. This was done automatically with the following command, only .Makefile.inc got some indent fixups by hand.
for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done

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

15 years agoExtban rework: allow exceptions to override bans on join
danieldg [Sat, 14 Mar 2009 20:48:43 +0000 (20:48 +0000)]
Extban rework: allow exceptions to override bans on join

Move all bans that prevent a user from joining the channel to OnCheckBan,
then stack their return results to allow an exception to override a ban.

This does not make join exceptions override any other exception like mute.

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

15 years agoShow the IP address only in zline added messages if *@ip was supplied.
dz [Sat, 14 Mar 2009 15:12:37 +0000 (15:12 +0000)]
Show the IP address only in zline added messages if *@ip was supplied.

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

15 years agoStrip a zline target of anything resembling an ident prior to sanity checking rather...
dz [Sat, 14 Mar 2009 15:12:36 +0000 (15:12 +0000)]
Strip a zline target of anything resembling an ident prior to sanity checking rather than after, fixes bug #766 reported by Taros

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

15 years agoAllow commands to be reloaded when they previously failed to load
danieldg [Sat, 14 Mar 2009 15:00:23 +0000 (15:00 +0000)]
Allow commands to be reloaded when they previously failed to load

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

15 years agoRevert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"
danieldg [Sat, 14 Mar 2009 14:31:48 +0000 (14:31 +0000)]
Revert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"

This check on uplink was not sufficient. It has been replaced by marking
children of a bursting server as bursting, so the uplink is no longer needed.

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

15 years agoMark children of remote servers as bursting while their parent is bursting
danieldg [Sat, 14 Mar 2009 14:31:40 +0000 (14:31 +0000)]
Mark children of remote servers as bursting while their parent is bursting

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

15 years agoSend remote BURST on new incoming server introduction
danieldg [Sat, 14 Mar 2009 14:31:33 +0000 (14:31 +0000)]
Send remote BURST on new incoming server introduction

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

15 years agoFix links to wiki, noticed by Ankit
peavey [Sat, 14 Mar 2009 14:26:30 +0000 (14:26 +0000)]
Fix links to wiki, noticed by Ankit

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

15 years agoFix bug #775, GRELOADMODULE displays success message on failure. Reported by Taros
danieldg [Fri, 13 Mar 2009 23:46:56 +0000 (23:46 +0000)]
Fix bug #775, GRELOADMODULE displays success message on failure. Reported by Taros

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

15 years agoFix bug #779, SSL metadata sent using the wrong case. Thanks HiroP
danieldg [Fri, 13 Mar 2009 23:16:34 +0000 (23:16 +0000)]
Fix bug #779, SSL metadata sent using the wrong case. Thanks HiroP

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

15 years agoFollow-up fix to r11081. Escalate minimum privileges from '%' to '@' if halfops are...
peavey [Fri, 13 Mar 2009 01:30:53 +0000 (01:30 +0000)]
Follow-up fix to r11081. Escalate minimum privileges from '%' to '@' if halfops are disabled by configuration. Possibly TODO: better handling of minimum privs after RC freeze is over.

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

15 years agoFix an oper-triggerable crash on CBAN; found by Taros
special [Thu, 12 Mar 2009 05:09:38 +0000 (05:09 +0000)]
Fix an oper-triggerable crash on CBAN; found by Taros

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

15 years agoRemove out-of-date test.conf and empty dirs
danieldg [Thu, 12 Mar 2009 04:06:28 +0000 (04:06 +0000)]
Remove out-of-date test.conf and empty dirs

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

15 years agoSend denied commands to the correct snomask (t, not d). Reported by HiroP.
w00t [Wed, 11 Mar 2009 17:50:18 +0000 (17:50 +0000)]
Send denied commands to the correct snomask (t, not d). Reported by HiroP.

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

15 years agoMore docs corrections.
w00t [Wed, 11 Mar 2009 12:10:48 +0000 (12:10 +0000)]
More docs corrections.

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

15 years agoMinor doc corrections.
w00t [Wed, 11 Mar 2009 12:10:43 +0000 (12:10 +0000)]
Minor doc corrections.

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

15 years agoMake the ident module assume that a connect tag wants ident functionality unless...
peavey [Wed, 11 Mar 2009 05:44:27 +0000 (05:44 +0000)]
Make the ident module assume that a connect tag wants ident functionality unless told explicitly not, this matches the old behavior before the option was added.

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

15 years agoFix ComparePass for servers not supporting HMAC-SHA256 when ChallengeResponse is...
danieldg [Wed, 11 Mar 2009 01:25:56 +0000 (01:25 +0000)]
Fix ComparePass for servers not supporting HMAC-SHA256 when ChallengeResponse is on in configuration

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

15 years agoFix win32 build issue.
w00t [Tue, 10 Mar 2009 23:49:55 +0000 (23:49 +0000)]
Fix win32 build issue.

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

15 years agoFix fast quit/connect by changing nick to UID on QuitUser
danieldg [Tue, 10 Mar 2009 22:56:09 +0000 (22:56 +0000)]
Fix fast quit/connect by changing nick to UID on QuitUser

This requires moving the sending of the QUIT back to usermanager from cull_list
in order to prevent client desyncs.

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

15 years agoSend (last message repeated N times) snomask to log channel
danieldg [Tue, 10 Mar 2009 22:56:02 +0000 (22:56 +0000)]
Send (last message repeated N times) snomask to log channel

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

15 years agoFix snomask stacking to only delay (last message repeated) part of the snomask
danieldg [Tue, 10 Mar 2009 22:55:55 +0000 (22:55 +0000)]
Fix snomask stacking to only delay (last message repeated) part of the snomask

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

15 years ago1.2.0rc2+PepperSteik
w00t [Tue, 10 Mar 2009 21:33:47 +0000 (21:33 +0000)]
1.2.0rc2+PepperSteik

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

15 years agoAdd doxygen configuration, in case someone wants to generate doxygen docs.
w00t [Tue, 10 Mar 2009 21:30:09 +0000 (21:30 +0000)]
Add doxygen configuration, in case someone wants to generate doxygen docs.

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

15 years agoApparantly someone can't figure out which index to check. Fixes CHGHOST with blank...
w00t [Tue, 10 Mar 2009 20:41:12 +0000 (20:41 +0000)]
Apparantly someone can't figure out which index to check. Fixes CHGHOST with blank hosts, thanks Taros.

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

15 years agoPush password comparison logic into ComparePass, fixes authentication bug noticed...
danieldg [Tue, 10 Mar 2009 16:15:29 +0000 (16:15 +0000)]
Push password comparison logic into ComparePass, fixes authentication bug noticed by HiroP

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

15 years agoQuiet bursts for uplinks, suggested by HiroP, thanks!
brain [Tue, 10 Mar 2009 14:50:10 +0000 (14:50 +0000)]
Quiet bursts for uplinks, suggested by HiroP, thanks!

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

15 years agoFlush snotices instantly on send (disable queueing) - in it's present form, it appear...
w00t [Mon, 9 Mar 2009 23:33:02 +0000 (23:33 +0000)]
Flush snotices instantly on send (disable queueing) - in it's present form, it appears it annoys OCD opers. Will be reintroduced to be less irritating in future.

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

15 years agoAdd Taros to regular contributors list, too.
w00t [Mon, 9 Mar 2009 20:04:19 +0000 (20:04 +0000)]
Add Taros to regular contributors list, too.

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

15 years agoFix bug #751 (wallops are not being processed remotely), reported by Taros.
w00t [Mon, 9 Mar 2009 19:32:06 +0000 (19:32 +0000)]
Fix bug #751 (wallops are not being processed remotely), reported by Taros.

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

15 years agoFix bug #764 (/stats i outputs numerics with uppercase I), reported by KingTarquin...
w00t [Mon, 9 Mar 2009 19:11:24 +0000 (19:11 +0000)]
Fix bug #764 (/stats i outputs numerics with uppercase I), reported by KingTarquin, thanks!

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

15 years agoRewrite BufferedSocket::BindAddr to actually make sense, and not infinite loop under...
w00t [Mon, 9 Mar 2009 18:51:07 +0000 (18:51 +0000)]
Rewrite BufferedSocket::BindAddr to actually make sense, and not infinite loop under some conditions, etc. This also splits a lot of it into DoBindMagic(), for readability.
Seems to work okay on an invalid bind and nonexistant bind.. Fixes bug #754, reported by HiroP and Indoril.

Fix FD leak in some circumstances: if bind fails hard (requested address couldn't be bound), Close() the socket. Also fixes a deficiency of the previous commit in that if one address failed to bind, the FD would be invalidated.

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

15 years agoAn FJOIN is not bursting unless the source server is bursting
danieldg [Mon, 9 Mar 2009 16:17:57 +0000 (16:17 +0000)]
An FJOIN is not bursting unless the source server is bursting

Fixes bug #755

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

15 years agoCorrectly fill LastParseParams on servermode. Fixes bug 763, thanks Ankit
danieldg [Mon, 9 Mar 2009 13:38:45 +0000 (13:38 +0000)]
Correctly fill LastParseParams on servermode. Fixes bug 763, thanks Ankit

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

15 years agom_override: fix messages on multi-mode changes
danieldg [Sun, 8 Mar 2009 22:01:19 +0000 (22:01 +0000)]
m_override: fix messages on multi-mode changes

This fixes bug 664

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

15 years agoFix +k for real
danieldg [Sat, 7 Mar 2009 05:47:09 +0000 (05:47 +0000)]
Fix +k for real

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

15 years agoLet's try that +k fix again, this time with more testing
danieldg [Sat, 7 Mar 2009 04:54:50 +0000 (04:54 +0000)]
Let's try that +k fix again, this time with more testing

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

15 years agoRemove some unneeded debug messages on the common case of FJOIN
danieldg [Sat, 7 Mar 2009 02:45:10 +0000 (02:45 +0000)]
Remove some unneeded debug messages on the common case of FJOIN

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

15 years agoFix r11178 not allowing keys to be unset
danieldg [Sat, 7 Mar 2009 02:45:02 +0000 (02:45 +0000)]
Fix r11178 not allowing keys to be unset

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

15 years agoInclude explicit parameter list in ProtocolInterface::SendMode
danieldg [Sat, 7 Mar 2009 01:29:45 +0000 (01:29 +0000)]
Include explicit parameter list in ProtocolInterface::SendMode

Also leave the strings split into deque, there's no need to pack it into a
string just to unpack it during the translate.

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

15 years agoConstruct explicit parameter type list for MODE parameters
danieldg [Fri, 6 Mar 2009 22:28:57 +0000 (22:28 +0000)]
Construct explicit parameter type list for MODE parameters

Previously, we used TR_SPACENICKLIST on the parameters. This worked only because
usually, if anything in the list parsed as a nick, then it was a nick. However,
some modes like +k and +g allow free-form text, which could also resolve as a
nick. Add extra parameters to allow modes to specify their TranslateType,
defaulting to TR_TEXT.

This fixes bug #757, found by Taros

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

15 years agoSend SVSNICKs during nick collision to prevent servers that do not fully implement...
danieldg [Fri, 6 Mar 2009 20:39:02 +0000 (20:39 +0000)]
Send SVSNICKs during nick collision to prevent servers that do not fully implement collisions from killing users

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

15 years agoDrop channel keys if they are identical to the already-set key (fix for bug #756...
w00t [Fri, 6 Mar 2009 10:04:51 +0000 (10:04 +0000)]
Drop channel keys if they are identical to the already-set key (fix for bug #756, reported by Taros)

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

15 years agoFix number of events in noctcp, so 'C' is shown in EXTBAN= 005 token, fixes bug ...
w00t [Fri, 6 Mar 2009 10:04:50 +0000 (10:04 +0000)]
Fix number of events in noctcp, so 'C' is shown in EXTBAN= 005 token, fixes bug #758 reported by Taros.

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

15 years agoFix +g notices going to remote users. Fixes bug #749, reported by Taros.
w00t [Fri, 6 Mar 2009 10:04:49 +0000 (10:04 +0000)]
Fix +g notices going to remote users. Fixes bug #749, reported by Taros.

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

15 years agoConvert helpop to use a ModeHandler base rather than a SimpleUserModeHandler, users...
w00t [Fri, 6 Mar 2009 10:04:42 +0000 (10:04 +0000)]
Convert helpop to use a ModeHandler base rather than a SimpleUserModeHandler, users should not be able to set +h. Fixes #750, reported by Taros.

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

15 years agom_sakick needs to be marked VF_COMMON
danieldg [Thu, 5 Mar 2009 21:45:16 +0000 (21:45 +0000)]
m_sakick needs to be marked VF_COMMON

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

15 years agoFinal configuration comment update [jdhore]
danieldg [Thu, 5 Mar 2009 05:41:17 +0000 (05:41 +0000)]
Final configuration comment update [jdhore]

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

15 years agoFix delayjoin adding an extra @ prefix mode
danieldg [Thu, 5 Mar 2009 01:51:30 +0000 (01:51 +0000)]
Fix delayjoin adding an extra @ prefix mode

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

15 years agoFix crash when services (or a misbehaving remote server) introduces a server with...
danieldg [Thu, 5 Mar 2009 01:27:19 +0000 (01:27 +0000)]
Fix crash when services (or a misbehaving remote server) introduces a server with duplicate SID

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

15 years agoAdd missing .example to modules.conf <include>
danieldg [Wed, 4 Mar 2009 05:24:15 +0000 (05:24 +0000)]
Add missing .example to modules.conf <include>

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

15 years agodelayjoin: Remove broken check for channel ops, use ModeHandler parameter instead
danieldg [Wed, 4 Mar 2009 05:12:25 +0000 (05:12 +0000)]
delayjoin: Remove broken check for channel ops, use ModeHandler parameter instead

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

15 years agoClean up delayjoin extension behavior
danieldg [Wed, 4 Mar 2009 04:54:09 +0000 (04:54 +0000)]
Clean up delayjoin extension behavior

There were a number of cases where delayjoin left stale metadata attached
to a user, which wastes memory. Also, the quit message of a users in a +D
channel could not be seen because of the emulated PART.

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

15 years agoGrammar/whitespace fixup
danieldg [Wed, 4 Mar 2009 00:57:52 +0000 (00:57 +0000)]
Grammar/whitespace fixup

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

15 years agoMore documentation to example configs [jdhore]
danieldg [Wed, 4 Mar 2009 00:46:12 +0000 (00:46 +0000)]
More documentation to example configs [jdhore]

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

15 years agoAdd more documentation to example configs [jdhore]
danieldg [Wed, 4 Mar 2009 00:07:56 +0000 (00:07 +0000)]
Add more documentation to example configs [jdhore]

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

15 years agoRestrict some /WHO options to opers
danieldg [Tue, 3 Mar 2009 17:45:31 +0000 (17:45 +0000)]
Restrict some /WHO options to opers

There is no reason to be able to query the umodes of other users or the port
they connected on; this can contain private information.

If HideWhoisServer is on, also restrict local/far query.

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

15 years agoRevert "Don't apply channel modes received in an non-burst, non-creation FJOIN, becau...
danieldg [Mon, 2 Mar 2009 23:38:04 +0000 (23:38 +0000)]
Revert "Don't apply channel modes received in an non-burst, non-creation FJOIN, because they could be out of date"

This keeps the protocol closer to TS6 behavior. The mode sync in the FJOIN is
used to resync channel modes after a desync caused by modes crossing on the
wire. In the future, an alternate join command will be used to prevent MODExJOIN
desync without rejecting modes from an FJOIN.

This reverts commit 4820e6bb9578e53ea1553070108599349d0ffbcb.

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

15 years agoDon't apply channel modes received in an non-burst, non-creation FJOIN, because they...
danieldg [Mon, 2 Mar 2009 22:08:56 +0000 (22:08 +0000)]
Don't apply channel modes received in an non-burst, non-creation FJOIN, because they could be out of date

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

15 years agoFix +P channels being deleted when the final user /QUITs, thanks SnoFox
danieldg [Mon, 2 Mar 2009 04:23:22 +0000 (04:23 +0000)]
Fix +P channels being deleted when the final user /QUITs, thanks SnoFox

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

15 years agoFix a crash in m_conn_waitpong, spotted by Obi_Wan.
dz [Sun, 1 Mar 2009 13:20:28 +0000 (13:20 +0000)]
Fix a crash in m_conn_waitpong, spotted by Obi_Wan.

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

15 years agoRevert r10640, it blocked override notices unless they contained an op/deop/etc
danieldg [Fri, 27 Feb 2009 21:53:01 +0000 (21:53 +0000)]
Revert r10640, it blocked override notices unless they contained an op/deop/etc

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

15 years agoAdd more information to /CHECK output
danieldg [Fri, 27 Feb 2009 16:02:21 +0000 (16:02 +0000)]
Add more information to /CHECK output

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

15 years ago[Taros] Add m_sakick.so
danieldg [Fri, 27 Feb 2009 02:44:36 +0000 (02:44 +0000)]
[Taros] Add m_sakick.so

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

15 years agoFix SID-sourced KILL being displayed to killee as from SID not from server name
danieldg [Fri, 27 Feb 2009 01:05:05 +0000 (01:05 +0000)]
Fix SID-sourced KILL being displayed to killee as from SID not from server name

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

15 years agoFix previous module mismatch message; "remote" is misleading when sent as an ERROR
danieldg [Fri, 27 Feb 2009 01:04:57 +0000 (01:04 +0000)]
Fix previous module mismatch message; "remote" is misleading when sent as an ERROR

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

15 years agoAdd VF_COMMON to all modules that provide an extban
danieldg [Wed, 25 Feb 2009 19:03:13 +0000 (19:03 +0000)]
Add VF_COMMON to all modules that provide an extban

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

15 years agoRemove VF_COMMON from m_banredirect, it only adds an extban
danieldg [Wed, 25 Feb 2009 18:33:19 +0000 (18:33 +0000)]
Remove VF_COMMON from m_banredirect, it only adds an extban

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

15 years agoClarify CMD_LOCALONLY return values for /WATCH
danieldg [Wed, 25 Feb 2009 17:26:17 +0000 (17:26 +0000)]
Clarify CMD_LOCALONLY return values for /WATCH

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

15 years agom_customtitle: Don't route TITLE command, route metadata only
danieldg [Wed, 25 Feb 2009 17:26:09 +0000 (17:26 +0000)]
m_customtitle: Don't route TITLE command, route metadata only

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

15 years agoAllow accountname to be changed without an explicit unset
danieldg [Wed, 25 Feb 2009 02:54:04 +0000 (02:54 +0000)]
Allow accountname to be changed without an explicit unset

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

15 years agoClarify module mismatch message
danieldg [Tue, 24 Feb 2009 23:50:04 +0000 (23:50 +0000)]
Clarify module mismatch message

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

15 years agoAllow non-opers to use /MKPASSWD
danieldg [Tue, 24 Feb 2009 18:14:38 +0000 (18:14 +0000)]
Allow non-opers to use /MKPASSWD

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

15 years agoFix svn:keywords on m_nationalchars.cpp
danieldg [Tue, 24 Feb 2009 03:19:19 +0000 (03:19 +0000)]
Fix svn:keywords on m_nationalchars.cpp

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

15 years agom_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning CMD_LOCALO...
special [Mon, 23 Feb 2009 13:30:38 +0000 (13:30 +0000)]
m_uninvite and m_ssl_oper_cert should be marked as VF_COMMON and returning CMD_LOCALONLY respectively

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

15 years agoForward port r11142: Commands that only give a response locally should not be propaga...
special [Mon, 23 Feb 2009 13:18:59 +0000 (13:18 +0000)]
Forward port r11142: Commands that only give a response locally should not be propagated globally, especially if not flagged as VF_COMMON (specifically, m_sslinfo). Found by satmd.

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

15 years agoIn retrospect, not allowing *any* XLines to be set was pretty fucking stupid.
w00t [Sun, 22 Feb 2009 14:37:38 +0000 (14:37 +0000)]
In retrospect, not allowing *any* XLines to be set was pretty fucking stupid.

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

15 years agoDon't remove an expired xline on add, simply drop duplicates (1.1 behaviour). This...
w00t [Sun, 22 Feb 2009 10:54:09 +0000 (10:54 +0000)]
Don't remove an expired xline on add, simply drop duplicates (1.1 behaviour). This can lead to bouncing between servers.

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

15 years agoDon't allow expired XLines to be added.
w00t [Sun, 22 Feb 2009 10:54:08 +0000 (10:54 +0000)]
Don't allow expired XLines to be added.

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

15 years agoForward port r11137 from stable:
peavey [Sun, 22 Feb 2009 02:56:43 +0000 (02:56 +0000)]
Forward port r11137 from stable:
================================
Use extended open method instead of the basic. Because basic always does SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE and we just want SQLITE_OPEN_READWRITE so we can warn if the db does not exist, rather than create an empty db.

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

15 years agoRemove unneeded "fd" member of issl_session
danieldg [Thu, 19 Feb 2009 22:32:17 +0000 (22:32 +0000)]
Remove unneeded "fd" member of issl_session

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

15 years agoRemove unneeded comment about warnings on 64-bit
danieldg [Thu, 19 Feb 2009 22:32:10 +0000 (22:32 +0000)]
Remove unneeded comment about warnings on 64-bit

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

15 years agoGnuTLS does not need a double-copy input buffer
danieldg [Thu, 19 Feb 2009 22:32:02 +0000 (22:32 +0000)]
GnuTLS does not need a double-copy input buffer

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

15 years agoSAPART does indeed take up to 3 parameters.
dz [Thu, 19 Feb 2009 20:33:19 +0000 (20:33 +0000)]
SAPART does indeed take up to 3 parameters.

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

15 years agoFix crash on /SHUN with exactly 2 parameters
danieldg [Thu, 19 Feb 2009 18:02:46 +0000 (18:02 +0000)]
Fix crash on /SHUN with exactly 2 parameters

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

15 years agoRestrict /WHO <item> M to opers
danieldg [Thu, 19 Feb 2009 17:23:05 +0000 (17:23 +0000)]
Restrict /WHO <item> M to opers

Metadata keys can contain information that should not be viewable by
users, such as "delayjoin_#channel".

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

15 years agoAdd UID to CHECK output
danieldg [Wed, 18 Feb 2009 21:06:00 +0000 (21:06 +0000)]
Add UID to CHECK output

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

15 years agoRemove unused NumServers field
danieldg [Wed, 18 Feb 2009 21:05:53 +0000 (21:05 +0000)]
Remove unused NumServers field

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

15 years agoRemove MaxMapHeight, replace with dynamically sized buffers
danieldg [Wed, 18 Feb 2009 19:46:31 +0000 (19:46 +0000)]
Remove MaxMapHeight, replace with dynamically sized buffers

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

15 years agoApparently casting to float is not sufficient to cause a conversion
danieldg [Wed, 18 Feb 2009 18:04:39 +0000 (18:04 +0000)]
Apparently casting to float is not sufficient to cause a conversion

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

15 years agoRework /MAP output to not be overly wide
danieldg [Wed, 18 Feb 2009 17:52:20 +0000 (17:52 +0000)]
Rework /MAP output to not be overly wide

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

15 years agoRemove had no maxpara
brain [Wed, 18 Feb 2009 08:36:11 +0000 (08:36 +0000)]
Remove had no maxpara

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

15 years agoMaxpara on these was 3, should be 2
brain [Wed, 18 Feb 2009 08:31:13 +0000 (08:31 +0000)]
Maxpara on these was 3, should be 2

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

15 years agoRemove redundant PriorityState, enum Priority does the exact same thing.
w00t [Mon, 16 Feb 2009 22:14:36 +0000 (22:14 +0000)]
Remove redundant PriorityState, enum Priority does the exact same thing.

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

15 years agoRemove duplicate quote, reported by DukePyrolator.
w00t [Mon, 16 Feb 2009 16:38:41 +0000 (16:38 +0000)]
Remove duplicate quote, reported by DukePyrolator.

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

15 years agoFew minor helpop updates..
w00t [Mon, 16 Feb 2009 16:30:18 +0000 (16:30 +0000)]
Few minor helpop updates..

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

15 years agoUpdate some missing svn:ignores
danieldg [Sun, 15 Feb 2009 19:07:38 +0000 (19:07 +0000)]
Update some missing svn:ignores

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

15 years agoSeveral changes
peavey [Sun, 15 Feb 2009 15:31:46 +0000 (15:31 +0000)]
Several changes
* Only send out NICK from target server
* Dont block changing nick when being forced
* Add more sanity checks various places

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

15 years agoFixify comments
peavey [Sun, 15 Feb 2009 13:23:48 +0000 (13:23 +0000)]
Fixify comments

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