]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
w00t [Fri, 27 Mar 2009 12:49:57 +0000 (12:49 +0000)]
Instead of emptying parameters on shunned PART, only empty the reason. Fixes bug #810, reported by Casey and others.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11265
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Wed, 25 Mar 2009 19:22:41 +0000 (19:22 +0000)]
Make this compile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11264
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 25 Mar 2009 17:57:55 +0000 (17:57 +0000)]
Fix some win32 compile errors, thanks for error output therock247uk
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11263
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 25 Mar 2009 16:31:39 +0000 (16:31 +0000)]
Fix a compilation error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11262
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 25 Mar 2009 11:39:57 +0000 (11:39 +0000)]
more of the fix but it still doesnt build. I know we said this might be unstable, but when writing *windows* code can you all please make sure it BUILDS on windows???
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11261
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 25 Mar 2009 11:37:06 +0000 (11:37 +0000)]
start of fix for bug #805
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11260
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 25 Mar 2009 05:08:58 +0000 (05:08 +0000)]
Fix headers for GCC 4.4: sprintf requires #include <cstdio>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11259
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 25 Mar 2009 01:22:34 +0000 (01:22 +0000)]
Use LastParseParams in m_opermodes because mode paramaters like +s +* can be modified by the mode parser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11258
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 23:26:44 +0000 (23:26 +0000)]
Fix configure check for eventfd, HAS_EVENTFD is true/false not 1/0
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11257
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 20:42:17 +0000 (20:42 +0000)]
ConfigReaderThread updates: add done flag, remove main-thread-only mutex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11256
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 23 Mar 2009 20:04:44 +0000 (20:04 +0000)]
Make this compile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11255
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 19:20:54 +0000 (19:20 +0000)]
Fix compile error due to mismerge
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11254
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 18:49:06 +0000 (18:49 +0000)]
Add test-compile checks for epoll and eventfd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11253
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 18:48:58 +0000 (18:48 +0000)]
usleep() is no longer needed, and should not be needed in the future
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11252
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 18:48:51 +0000 (18:48 +0000)]
ThreadEngine: Allow interthread signaling without needing as many hacks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 18:48:42 +0000 (18:48 +0000)]
ThreadEngine: remove MutexFactory, mutexes should be constructed using their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 18:48:32 +0000 (18:48 +0000)]
ThreadEngine: remove excessive mutex use on thread creation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 23 Mar 2009 03:32:01 +0000 (03:32 +0000)]
Check IsBanned even when the ban list is empty, so that module hooks get called. Fixes bug #800, reported by Taros
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11248
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Mar 2009 21:55:08 +0000 (21:55 +0000)]
Merge simple fix from Ankit, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11247
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sun, 22 Mar 2009 20:34:24 +0000 (20:34 +0000)]
Revert r11241 due to crashiness when rehashing from IRC.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Mar 2009 18:47:22 +0000 (18:47 +0000)]
No need to show the censored word twice! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11245
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Mar 2009 18:43:42 +0000 (18:43 +0000)]
Apply ankit's patch for bug #780 with a minor tweak, re-introduce the 4-param 404 numeric, this should not affect any clients but should make scripts and bots lives easier. Thanks ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11244
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 22 Mar 2009 14:44:43 +0000 (14:44 +0000)]
Nicer reworded numeric from ankit, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11243
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sat, 21 Mar 2009 18:04:17 +0000 (18:04 +0000)]
Update the list of <options:exemptchanops> supported modes. Fixes bug #798 reported by Taros, patch by jdhore -- thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11242
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sat, 21 Mar 2009 17:40:35 +0000 (17:40 +0000)]
Actually close file log FDs when we're done with them.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 20 Mar 2009 13:30:46 +0000 (13:30 +0000)]
Fix a bad malloc (why the hell is it malloc???) in m_nationalchars
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11240
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 20 Mar 2009 00:40:24 +0000 (00:40 +0000)]
This is a nicer fix, and we are seen to be explicitly freeing the BSTR values, which explicitly shows any reader of the code that this is a leak prevention measure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11239
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 20 Mar 2009 00:30:25 +0000 (00:30 +0000)]
Remove an old class member here that is no longer used and has been commented out for months
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11238
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 20 Mar 2009 00:06:21 +0000 (00:06 +0000)]
This needs a test compile, i do not have my laptop to hand to do this. May break win32 build.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11237
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Thu, 19 Mar 2009 16:58:00 +0000 (16:58 +0000)]
Show users their own server name in "/whois myself"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11236
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Wed, 18 Mar 2009 19:15:26 +0000 (19:15 +0000)]
Make m_dccallow reread badfiles on rehash, not just on load.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11235
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Wed, 18 Mar 2009 19:15:25 +0000 (19:15 +0000)]
fix dccallow logic to allow <badfile:action> to override <dccallow:defaultaction>, spotted by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11234
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 18 Mar 2009 11:00:51 +0000 (11:00 +0000)]
Fix for bug #791, if an error is set treat this as 'could not get certificate'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11233
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 18 Mar 2009 10:52:10 +0000 (10:52 +0000)]
Fix for bug #784 reported by HiroP, add check to the FHOST code to not send out FHOST for unregistered users, there was already a check on OnMode hence why the +x didnt go out, just the host change.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11232
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 18 Mar 2009 10:28:10 +0000 (10:28 +0000)]
Fix for bug #788, set user->quitting before writing error to users socket, and allow appending to sendq for quitting users (just don't check sendq's on quitting users)
This allows the ERROR message to reach the user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11231
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 18 Mar 2009 10:22:38 +0000 (10:22 +0000)]
Fix for bug #792 reported by recyclebin, do not attempt to ping local servers which are not fully connected yet, thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11230
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 18 Mar 2009 10:03:55 +0000 (10:03 +0000)]
Fix for bug #773 reported by Taros, thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11229
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 18 Mar 2009 09:42:19 +0000 (09:42 +0000)]
fix for bug #777
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11228
e03df62e -2008-0410-955e-
edbf42e46eb7
psychon [Mon, 16 Mar 2009 17:44:06 +0000 (17:44 +0000)]
Instead of re adding the HandshakeTimer in m_spanningtree, make it a reoccurring timer and kill at the right time.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11227
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sun, 15 Mar 2009 19:07:04 +0000 (19:07 +0000)]
Fix m_shun silently blocking allowed commands on shunned users, fixes bug #771 reported by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11225
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sun, 15 Mar 2009 18:31:56 +0000 (18:31 +0000)]
Use IS_OPER(u) instead of checking for umode +o to correctly add opers during bursts, fixes bugs #786 and #778 reported by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11224
e03df62e -2008-0410-955e-
edbf42e46eb7
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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