]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
danieldg [Wed, 13 May 2009 05:27:46 +0000 (05:27 +0000)]
Use a FakeUser source for server-sourced commands in spanningtree
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11376
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 13 May 2009 05:27:39 +0000 (05:27 +0000)]
Create subclass of User for FakeClient, to allow for use as command source
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11375
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Wed, 13 May 2009 03:04:03 +0000 (03:04 +0000)]
Fix for some modules sending global snotices at each individual server in a server path.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11374
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 13 May 2009 02:49:05 +0000 (02:49 +0000)]
Translate UIDs properly in m_sakick
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11373
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Wed, 13 May 2009 02:29:32 +0000 (02:29 +0000)]
Revert some files accidentally committed in r11371. I'm apparently doing a very bad job of multitasking.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11372
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Wed, 13 May 2009 02:18:33 +0000 (02:18 +0000)]
Fix an issue in r11370 spotted by danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11371
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Wed, 13 May 2009 01:23:52 +0000 (01:23 +0000)]
Fix m_sakick to properly send local/global snomasks like other modules, instead of repeating a global snomask once per linked server. Found by SnoFox
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11370
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Thu, 7 May 2009 14:51:10 +0000 (14:51 +0000)]
Remove handshake timer on server sockets that die before completing handshake
This fixes some very subtle and hard-to-trace bugs that are triggered when a
file descriptor and memory address of an EventHandler* are reused after being
deallocated. Impossible to trigger in valgrind; has been seen in live networks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11369
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Thu, 7 May 2009 04:33:43 +0000 (04:33 +0000)]
Compile fix: openssl does not have an ISSL_CLOSING state, unlike gnutls
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11368
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Thu, 7 May 2009 04:24:17 +0000 (04:24 +0000)]
Fix ListenSocketBase::GetPort() returning incorrect value on ports not bound to a specific address
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11367
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Wed, 6 May 2009 22:59:05 +0000 (22:59 +0000)]
Fix two compile errors found by Shawn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11366
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 6 May 2009 22:46:56 +0000 (22:46 +0000)]
Set errno in openssl when handshake fails
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11365
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 6 May 2009 22:27:51 +0000 (22:27 +0000)]
Remove FindDescriptor wrapper for GetRef, it doesn't do anything useful and in fact is a bit harmful in some ways as we've seen..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11364
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 6 May 2009 22:26:11 +0000 (22:26 +0000)]
Set errno properly on GnuTLS sessions that die during the SSL handshake
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11363
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Tue, 5 May 2009 23:43:40 +0000 (23:43 +0000)]
m_filter: Do not attempt to filter messages from remote users
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11362
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 4 May 2009 23:24:00 +0000 (23:24 +0000)]
Canonicalize bind addresses when creating listen sockets
This fixes /stats p output for SSL ports not working if a non-canonical address
is used in the configuration (IPv6 with :: or mixed hexadecimal case).
This also cleans up some now-useless sockaddr[2] allocations.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11361
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 4 May 2009 20:27:54 +0000 (20:27 +0000)]
Fix unnecessary heap allocation on rehash: stack allocated ConfigReader is fine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11359
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 3 May 2009 12:16:10 +0000 (12:16 +0000)]
Copypastafail.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11358
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 3 May 2009 12:15:19 +0000 (12:15 +0000)]
Some general tidyup in here (also some possible desync fixes, check IS_LOCAL..), also check that the target channel exists and sender is opped before allowing +b redirects from a remote sender. Fixes bug #851, reported by SnoFox.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11357
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 3 May 2009 12:06:33 +0000 (12:06 +0000)]
(for now), comment out opercount from individual servers in XML stats. This can be addressed in a future release. Bandaid fix for bug #846, reported by SnoFox.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11356
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 3 May 2009 11:56:03 +0000 (11:56 +0000)]
Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 22:44:20 +0000 (22:44 +0000)]
Change making callerid significantly less expensive for quitting large amounts of users at once. This is *not* runtime tested yet. Testnet, please update this module.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11354
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 21:43:12 +0000 (21:43 +0000)]
Minor cleanup: move RemoveFromAllAccepts() to a private class method
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11353
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sat, 2 May 2009 19:55:02 +0000 (19:55 +0000)]
Globally route "a" snotices for more modules. Patch from Milliways.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11352
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 19:02:25 +0000 (19:02 +0000)]
Remove commands makefile also on make distclean.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11351
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 18:58:02 +0000 (18:58 +0000)]
Fix two stupid mistakes here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11350
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 18:24:58 +0000 (18:24 +0000)]
Patch from eLement notifying the user who sent a NICKLOCK that the target was locked successfully, fixes bug #854.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11349
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 18:18:01 +0000 (18:18 +0000)]
Remove an old debug log, and fix compile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11348
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 18:18:00 +0000 (18:18 +0000)]
Fix: Channel aliases should work a bit more like user aliases. This is a BC change: all existing channel aliases will likely be BROKEN, and will need to be changed. Like user aliases, $1 is now the fantasy command that was invoked, $2 is the first real param of the command. Reported by Namegduf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11347
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sat, 2 May 2009 18:17:59 +0000 (18:17 +0000)]
Replace $chan to "" for a non-channel command.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11346
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sat, 2 May 2009 15:01:32 +0000 (15:01 +0000)]
Send rehash message to global sno, fixes bug #855. Also only send message when the rehash happens.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11344
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 1 May 2009 21:41:04 +0000 (21:41 +0000)]
Fix SILENCE command in m_silence being reported as being in m_slience_ext, noticed by SnoFox
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11343
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 30 Apr 2009 13:35:25 +0000 (13:35 +0000)]
Fix bug found by Jeremy from Teranova, thanks: if an explicit bind to an IP is not made, don't assume all <bind> tags are for ipv6 IPs on an IPv6 compile (WTF).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11342
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 29 Apr 2009 19:37:20 +0000 (19:37 +0000)]
Fix m_redirect to work properly with SAMODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11339
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 29 Apr 2009 03:49:00 +0000 (03:49 +0000)]
How about we make this compile?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 29 Apr 2009 03:21:22 +0000 (03:21 +0000)]
Normalize IPv6 addresses when producing SSL port list, fixes bug #853
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 29 Apr 2009 03:21:15 +0000 (03:21 +0000)]
Add IP address conversion utility functions, irc::sockets::aptosa and irc::sockets::satoap
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11336
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 29 Apr 2009 02:43:16 +0000 (02:43 +0000)]
Overloading SetMode seems to cause the compiler to interpret "" as a bool and not a string. Fixes bug #849
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 27 Apr 2009 15:30:03 +0000 (15:30 +0000)]
Fix OnSetAway hook denying remote users' change rather than local users
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11334
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 27 Apr 2009 04:42:04 +0000 (04:42 +0000)]
Remove sending +q from OnPostJoin, fixes bug #847. See removed comment for why it existed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11333
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sun, 26 Apr 2009 20:48:13 +0000 (20:48 +0000)]
Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ports configured
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sun, 26 Apr 2009 20:48:05 +0000 (20:48 +0000)]
Enable lag-check pings on active servers - if bandwidth waste is an issue, there should be an option to disable lag pings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11331
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sun, 26 Apr 2009 20:47:57 +0000 (20:47 +0000)]
Remove lag reporting in /map from servers that do not yet have a valid value; <1ms is misleading.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sun, 26 Apr 2009 03:43:59 +0000 (03:43 +0000)]
Fix OnUserRegister being triggered twice if someone sent a NICK while waiting on an ident timeout
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11329
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 24 Apr 2009 15:56:31 +0000 (15:56 +0000)]
Fix crash from unregistered users joining a channel, discovered by Namegduf
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11328
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 23 Apr 2009 22:21:35 +0000 (22:21 +0000)]
rollback r11326, we're going to make vc9 the officially supported windows build methods since the few of us doing win dev can't keep up maintaining the others.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11327
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 23 Apr 2009 19:03:40 +0000 (19:03 +0000)]
Heres the beef so far
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 22 Apr 2009 16:35:27 +0000 (16:35 +0000)]
Addendum to previous ping patch: NextPingTime was not being set at endburst, and servers without ENDBURST were no longer being detected.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11325
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 22 Apr 2009 02:26:03 +0000 (02:26 +0000)]
Fix PingFlag not being set correctly for servers whose burst takes longer than PingFreq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Tue, 21 Apr 2009 15:15:05 +0000 (15:15 +0000)]
Abort link early when mismatched modules are detected so that the error message is more useful
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11323
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 20 Apr 2009 22:12:40 +0000 (22:12 +0000)]
Actually use irc::modestacker correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Mon, 20 Apr 2009 13:29:58 +0000 (13:29 +0000)]
Use loopCall to protect OnUserKick rather than the triggerevents hack
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sun, 19 Apr 2009 15:59:16 +0000 (15:59 +0000)]
Initialize loopCall on construction
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sun, 19 Apr 2009 15:26:21 +0000 (15:26 +0000)]
Add loopCall to prevent double-broadcasting new X:lines
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11319
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sun, 19 Apr 2009 15:26:14 +0000 (15:26 +0000)]
Send snotices when m_dnsbl adds an xline; fixes bug #837
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11318
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sat, 18 Apr 2009 22:21:27 +0000 (22:21 +0000)]
Change a few more modules to send global a/A snotices
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11317
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sat, 18 Apr 2009 21:34:35 +0000 (21:34 +0000)]
Use server source for RemoveMode, fixes bug #838
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11316
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sat, 18 Apr 2009 19:51:31 +0000 (19:51 +0000)]
Convert m_dnsbl to send globally routed snomasks. Fixes bug #836
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11315
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sat, 18 Apr 2009 19:51:24 +0000 (19:51 +0000)]
Add global-routing snomask functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11314
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Sat, 18 Apr 2009 00:32:11 +0000 (00:32 +0000)]
Don't send out UID for users that are quitting, because the QUIT won't be sent and they become a ghost
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11313
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 17 Apr 2009 21:47:30 +0000 (21:47 +0000)]
Fix CullList to not use O(n^2) version of vector clear
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11312
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 17 Apr 2009 21:10:06 +0000 (21:10 +0000)]
Fix realhost leak when users on different servers get +W notifications. Noticed by mooncup.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11311
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 17 Apr 2009 13:55:20 +0000 (13:55 +0000)]
Remove CullList rate limiting to fix UID collisions on large networks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11310
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 17 Apr 2009 13:55:14 +0000 (13:55 +0000)]
Fix memory leak on rehash: opertype used char* instead of std::string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11309
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 17 Apr 2009 13:55:07 +0000 (13:55 +0000)]
Fix memory leak in m_filter rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11308
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 17 Apr 2009 13:54:53 +0000 (13:54 +0000)]
Fix SetModeParam to use std::string and handle edge cases.
Previously, changing the vaule of a mode could require 3 calls to SetMode and SetModeParam.
This also fixes memory leaks caused by the strdup() not always being paired with a free().
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11307
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 16 Apr 2009 21:59:47 +0000 (21:59 +0000)]
Bump to rc3 in preperation for release Real Soon (tm). Developers, please look at getting fixes for open bugs in ASAP.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11306
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Thu, 16 Apr 2009 17:20:02 +0000 (17:20 +0000)]
Addendum to r11303, fix for bug #833: use correct result for the type (bitmask/record), based on patch by Milliways, thanks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11305
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 16 Apr 2009 15:51:05 +0000 (15:51 +0000)]
Convert snomask 'A' into snomask 'a' for local announcements, add snomask 'A' for remote announcements.
Make SAMODE send a snotice to 'a' and remote to 'A' - fixes bug #822, reported by Taros
We really need a wrapper to use these, but, for now it's usable.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11304
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 16 Apr 2009 15:40:23 +0000 (15:40 +0000)]
Correctly announce dnsbl hits, fixes bug #833 reported by Milliways.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11303
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 16 Apr 2009 15:32:16 +0000 (15:32 +0000)]
Fix bug #826: setting +l 0 doesn't work in some cases. Just don't check for +l to an existing limit at all, as there isn't a lot of point to it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11302
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 10 Apr 2009 21:43:01 +0000 (21:43 +0000)]
Register the OnUserPreJoin hook, and check for null channel first
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11301
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Fri, 10 Apr 2009 21:40:24 +0000 (21:40 +0000)]
Move +O check out of OnCheckBan to change error message and avoid triggering restrictbanned
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11300
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Thu, 9 Apr 2009 09:22:27 +0000 (09:22 +0000)]
Re-add the default case to commandline parsing (if it happens, it's better to know than to do nothing) and fix a small typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11299
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 9 Apr 2009 08:59:27 +0000 (08:59 +0000)]
The correct way to detect unknown parameter for getopt_long_only() is looking for '?' param, not \0.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11298
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 9 Apr 2009 08:16:00 +0000 (08:16 +0000)]
If you're going to add magical number hacks, please comment them appropriately to reduce future maintenence burden.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11297
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 9 Apr 2009 08:15:59 +0000 (08:15 +0000)]
Readd documentation that just managed to vanish into thin air...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11296
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Thu, 9 Apr 2009 08:05:25 +0000 (08:05 +0000)]
Fix the problem described in bug #827; an improper cast when parsing commandline parameters caused the ircd to not run at all on platforms with unsigned char (i.e. PPC). There may be other issues with unsigned char, testing and reports welcome.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11294
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 8 Apr 2009 21:11:53 +0000 (21:11 +0000)]
Example configuration updates from jdhore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11293
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 8 Apr 2009 00:59:17 +0000 (00:59 +0000)]
Set topic timestamp on newly created channels to a dummy value to work around bug #739 without protocol changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11292
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Tue, 7 Apr 2009 08:34:34 +0000 (08:34 +0000)]
Fix irc_char_traits::find to behave correctly when the character is not found. Bug #823, patch by Phoenix Fledgeling
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11291
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Mon, 6 Apr 2009 00:57:19 +0000 (00:57 +0000)]
m_shun: Allow nick targets for removal as well, in the same format as addition
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11290
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 6 Apr 2009 00:07:31 +0000 (00:07 +0000)]
Fix shun not applying if you add an IP mask for a user that has a host which resolves. Spotted by Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11289
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 6 Apr 2009 00:07:30 +0000 (00:07 +0000)]
Add support for nick targets like other xlines. Patch by Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11288
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 6 Apr 2009 00:07:29 +0000 (00:07 +0000)]
Weed out a few leftover server instances from before modules had ServerInstance. Patch by Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11287
e03df62e -2008-0410-955e-
edbf42e46eb7
psychon [Sun, 5 Apr 2009 14:28:02 +0000 (14:28 +0000)]
Remove the unused RESOLVER_NOTREADY define and fix the spelling of RESLOVER_FORCEUNLOAD
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11286
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sat, 4 Apr 2009 18:02:52 +0000 (18:02 +0000)]
Reapply r11241: flush and close log filehandles properly when the log is closed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11285
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sat, 4 Apr 2009 18:02:51 +0000 (18:02 +0000)]
Don't do anything with logging in the handler for /REHASH.
What was here would close all of the logs and attempt to reopen only the startup log, resulting in a crash if the startup log had been properly closed already.
Logs are already properly restarted when the config thread exits.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11284
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 3 Apr 2009 18:53:28 +0000 (18:53 +0000)]
Use 'c' snomask instead of 'A' snomask for ldap auth failures, reported by drich.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11283
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 3 Apr 2009 18:25:25 +0000 (18:25 +0000)]
Textual fixes. Patch by Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11282
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Thu, 2 Apr 2009 22:47:01 +0000 (22:47 +0000)]
Fix up logic in m_allowinvite: extban A prevents /invite in all cases; channel mode A or extban exception A allow /invite in all cases. Fixes bug #819 reported by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11281
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Wed, 1 Apr 2009 23:43:00 +0000 (23:43 +0000)]
m_timedbans was incorrectly listed as oper-only in the example config. Found by Taros.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11279
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 1 Apr 2009 21:59:47 +0000 (21:59 +0000)]
Add validation of parameters as a fix for bug #917, and add maxpara so that we don't need the : before the reason
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11278
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 1 Apr 2009 21:45:37 +0000 (21:45 +0000)]
Fix ping server-skip logic from bug 792 fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11277
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 1 Apr 2009 20:46:44 +0000 (20:46 +0000)]
Correct fix for bug #815, IPv6 code needs to check for IPv4 sa_family and handle it properly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11276
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Wed, 1 Apr 2009 20:30:17 +0000 (20:30 +0000)]
Partial revert of r11274 (m_ident binding, bug #815); the meaning of this segment of code was completely reversed and broke ident binding alltogether. This part of the code may need other changes to make a full fix to #815. Remember - we're in feature freeze. Try to keep things focused on fixing the bugs, not cleaning up and refactoring code.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11275
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 1 Apr 2009 17:14:04 +0000 (17:14 +0000)]
Correct bind address of ident requests on multihomed IPv6-capable servers.
Fixes bug #815, reported by Szymek.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11274
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 1 Apr 2009 15:09:27 +0000 (15:09 +0000)]
Fix incorrect double-negative in help text
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11273
e03df62e -2008-0410-955e-
edbf42e46eb7
danieldg [Wed, 1 Apr 2009 14:24:02 +0000 (14:24 +0000)]
Use binary comparison of IP addresses when checking reverse/forward DNS match; fixes bug #814
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11272
e03df62e -2008-0410-955e-
edbf42e46eb7
dz [Sun, 29 Mar 2009 16:01:53 +0000 (16:01 +0000)]
send ERR_NEEDMOREPARAMS if an empty parameter is given to STATS ('STATS :'), fixes bug #813 reported by Kazuma.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11271
e03df62e -2008-0410-955e-
edbf42e46eb7