9425 Commits

Author SHA1 Message Date
w00t
c0d37f4557 (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
2009-05-03 12:06:33 +00:00
w00t
a1a5c322ce 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
2009-05-03 11:56:03 +00:00
w00t
4d1275cc53 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
2009-05-02 22:44:20 +00:00
w00t
50d763ca74 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
2009-05-02 21:43:12 +00:00
danieldg
b0884a94ef 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
2009-05-02 19:55:02 +00:00
w00t
39d63cdd10 Remove commands makefile also on make distclean.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11351 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0rc3
2009-05-02 19:02:25 +00:00
w00t
d65c7380f1 Fix two stupid mistakes here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11350 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:58:02 +00:00
w00t
78450ee024 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
2009-05-02 18:24:58 +00:00
w00t
7d8f6fde6e Remove an old debug log, and fix compile.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11348 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:18:01 +00:00
w00t
343ffe8940 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
2009-05-02 18:18:00 +00:00
w00t
6cfc9625c0 Replace $chan to "" for a non-channel command.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11346 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02 18:17:59 +00:00
danieldg
3ff5e57de4 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
2009-05-02 15:01:32 +00:00
danieldg
d94394560c 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
2009-05-01 21:41:04 +00:00
w00t
0e5f5ce8db 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
2009-04-30 13:35:25 +00:00
danieldg
292291100c Fix m_redirect to work properly with SAMODE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11339 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29 19:37:20 +00:00
danieldg
5ae91f0903 How about we make this compile?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29 03:49:00 +00:00
danieldg
8bcd42704b 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
2009-04-29 03:21:22 +00:00
danieldg
3df81381bc 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
2009-04-29 03:21:15 +00:00
danieldg
d2a71fd344 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
2009-04-29 02:43:16 +00:00
danieldg
1064b67329 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
2009-04-27 15:30:03 +00:00
danieldg
80b24fd2d3 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
2009-04-27 04:42:04 +00:00
danieldg
1ec635790f 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
2009-04-26 20:48:13 +00:00
danieldg
8a32981609 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
2009-04-26 20:48:05 +00:00
danieldg
2f9c8c6436 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
2009-04-26 20:47:57 +00:00
danieldg
e33e7a055e 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
2009-04-26 03:43:59 +00:00
danieldg
bff6868836 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
2009-04-24 15:56:31 +00:00
peavey
15b51c2ecc 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
2009-04-23 22:21:35 +00:00
brain
c275233c7c Heres the beef so far
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-23 19:03:40 +00:00
danieldg
eed00fd454 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
2009-04-22 16:35:27 +00:00
danieldg
c15f083ba3 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
2009-04-22 02:26:03 +00:00
danieldg
195b60fe90 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
2009-04-21 15:15:05 +00:00
danieldg
e10bc5d2eb Actually use irc::modestacker correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-20 22:12:40 +00:00
danieldg
828f256a9b 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
2009-04-20 13:29:58 +00:00
danieldg
2d7ac3a99b Initialize loopCall on construction
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-19 15:59:16 +00:00
danieldg
520401ed4a 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
2009-04-19 15:26:21 +00:00
danieldg
1f75c5c20a 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
2009-04-19 15:26:14 +00:00
danieldg
8a5a800a87 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
2009-04-18 22:21:27 +00:00
danieldg
92fb37b10f Use server source for RemoveMode, fixes bug #838
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11316 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-18 21:34:35 +00:00
danieldg
e0b6dfe98f 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
2009-04-18 19:51:31 +00:00
danieldg
97c7c3ff2a Add global-routing snomask functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11314 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-18 19:51:24 +00:00
danieldg
00d3b7007e 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
2009-04-18 00:32:11 +00:00
danieldg
e988ac11a2 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
2009-04-17 21:47:30 +00:00
danieldg
83c2e15a7d 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
2009-04-17 21:10:06 +00:00
danieldg
0036e619c5 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
2009-04-17 13:55:20 +00:00
danieldg
1735fc95bb 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
2009-04-17 13:55:14 +00:00
danieldg
fbd9bba660 Fix memory leak in m_filter rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11308 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17 13:55:07 +00:00
danieldg
2dfc384cde 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
2009-04-17 13:54:53 +00:00
w00t
c6f1e7997d 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
2009-04-16 21:59:47 +00:00
peavey
de4259469e 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
2009-04-16 17:20:02 +00:00
w00t
929cd28544 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
2009-04-16 15:51:05 +00:00