summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-05-02Remove an old debug log, and fix compile.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11348 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Fix: Channel aliases should work a bit more like user aliases. This is a BC ↵w00t
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-02Replace $chan to "" for a non-channel command.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11346 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-02Send rehash message to global sno, fixes bug #855. Also only send message ↵danieldg
when the rehash happens. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11344 e03df62e-2008-0410-955e-edbf42e46eb7
2009-05-01Fix SILENCE command in m_silence being reported as being in m_slience_ext, ↵danieldg
noticed by SnoFox git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11343 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-30Fix bug found by Jeremy from Teranova, thanks: if an explicit bind to an IP ↵w00t
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-29Fix m_redirect to work properly with SAMODEdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11339 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29How about we make this compile?danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29Normalize IPv6 addresses when producing SSL port list, fixes bug #853danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29Add IP address conversion utility functions, irc::sockets::aptosa and ↵danieldg
irc::sockets::satoap git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11336 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-29Overloading SetMode seems to cause the compiler to interpret "" as a bool ↵danieldg
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-27Fix OnSetAway hook denying remote users' change rather than local usersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11334 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-27Remove sending +q from OnPostJoin, fixes bug #847. See removed comment for ↵danieldg
why it existed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11333 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ↵danieldg
ports configured git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26Enable lag-check pings on active servers - if bandwidth waste is an issue, ↵danieldg
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-26Remove lag reporting in /map from servers that do not yet have a valid ↵danieldg
value; <1ms is misleading. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-26Fix OnUserRegister being triggered twice if someone sent a NICK while ↵danieldg
waiting on an ident timeout git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11329 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-24Fix crash from unregistered users joining a channel, discovered by Namegdufdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11328 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-23rollback r11326, we're going to make vc9 the officially supported windows ↵peavey
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-23Heres the beef so farbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-22Addendum to previous ping patch: NextPingTime was not being set at endburst, ↵danieldg
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-22Fix PingFlag not being set correctly for servers whose burst takes longer ↵danieldg
than PingFreq git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-21Abort link early when mismatched modules are detected so that the error ↵danieldg
message is more useful git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11323 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-20Actually use irc::modestacker correctlydanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-20Use loopCall to protect OnUserKick rather than the triggerevents hackdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-19Initialize loopCall on constructiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-19Add loopCall to prevent double-broadcasting new X:linesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11319 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-19Send snotices when m_dnsbl adds an xline; fixes bug #837danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11318 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-18Change a few more modules to send global a/A snoticesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11317 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-18Use server source for RemoveMode, fixes bug #838danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11316 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-18Convert m_dnsbl to send globally routed snomasks. Fixes bug #836danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11315 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-18Add global-routing snomask functionsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11314 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-18Don't send out UID for users that are quitting, because the QUIT won't be ↵danieldg
sent and they become a ghost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11313 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17Fix CullList to not use O(n^2) version of vector cleardanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11312 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17Fix realhost leak when users on different servers get +W notifications. ↵danieldg
Noticed by mooncup. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11311 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17Remove CullList rate limiting to fix UID collisions on large networksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11310 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17Fix memory leak on rehash: opertype used char* instead of std::stringdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11309 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17Fix memory leak in m_filter rehashdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11308 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-17Fix SetModeParam to use std::string and handle edge cases.danieldg
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-16Bump to rc3 in preperation for release Real Soon (tm). Developers, please ↵w00t
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-16Addendum to r11303, fix for bug #833: use correct result for the type ↵peavey
(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-16Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵w00t
'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-16Correctly announce dnsbl hits, fixes bug #833 reported by Milliways.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11303 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-16Fix bug #826: setting +l 0 doesn't work in some cases. Just don't check for ↵w00t
+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
2009-04-10Register the OnUserPreJoin hook, and check for null channel firstdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11301 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-10Move +O check out of OnCheckBan to change error message and avoid triggering ↵danieldg
restrictbanned git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11300 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09Re-add the default case to commandline parsing (if it happens, it's better ↵special
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
2009-04-09The correct way to detect unknown parameter for getopt_long_only() is ↵brain
looking for '?' param, not \0. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11298 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09If you're going to add magical number hacks, please comment them ↵w00t
appropriately to reduce future maintenence burden. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11297 e03df62e-2008-0410-955e-edbf42e46eb7
2009-04-09Fix the problem described in bug #827; an improper cast when parsing ↵special
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