summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix two stupid mistakes hereGravatar w00t2009-05-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11350 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch from eLement notifying the user who sent a NICKLOCK that the target ↵Gravatar w00t2009-05-021-0/+3
| | | | | | was locked successfully, fixes bug #854. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11349 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove an old debug log, and fix compile.Gravatar w00t2009-05-021-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11348 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix: Channel aliases should work a bit more like user aliases. This is a BC ↵Gravatar w00t2009-05-021-3/+2
| | | | | | 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
* Replace $chan to "" for a non-channel command.Gravatar w00t2009-05-021-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11346 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix SILENCE command in m_silence being reported as being in m_slience_ext, ↵Gravatar danieldg2009-05-011-1/+1
| | | | | | noticed by SnoFox git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11343 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_redirect to work properly with SAMODEGravatar danieldg2009-04-291-25/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11339 e03df62e-2008-0410-955e-edbf42e46eb7
* How about we make this compile?Gravatar danieldg2009-04-292-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11338 e03df62e-2008-0410-955e-edbf42e46eb7
* Normalize IPv6 addresses when producing SSL port list, fixes bug #853Gravatar danieldg2009-04-292-0/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11337 e03df62e-2008-0410-955e-edbf42e46eb7
* Overloading SetMode seems to cause the compiler to interpret "" as a bool ↵Gravatar danieldg2009-04-295-14/+14
| | | | | | and not a string. Fixes bug #849 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11335 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove sending +q from OnPostJoin, fixes bug #847. See removed comment for ↵Gravatar danieldg2009-04-271-16/+2
| | | | | | why it existed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11333 e03df62e-2008-0410-955e-edbf42e46eb7
* Correct 005 output of m_ssl_gnutls when used for STARTTLS with no client SSL ↵Gravatar danieldg2009-04-261-1/+3
| | | | | | ports configured git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11332 e03df62e-2008-0410-955e-edbf42e46eb7
* Enable lag-check pings on active servers - if bandwidth waste is an issue, ↵Gravatar danieldg2009-04-261-6/+0
| | | | | | 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
* Remove lag reporting in /map from servers that do not yet have a valid ↵Gravatar danieldg2009-04-261-1/+1
| | | | | | value; <1ms is misleading. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11330 e03df62e-2008-0410-955e-edbf42e46eb7
* rollback r11326, we're going to make vc9 the officially supported windows ↵Gravatar peavey2009-04-232-2/+2
| | | | | | 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
* Heres the beef so farGravatar brain2009-04-232-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11326 e03df62e-2008-0410-955e-edbf42e46eb7
* Addendum to previous ping patch: NextPingTime was not being set at endburst, ↵Gravatar danieldg2009-04-221-2/+4
| | | | | | 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
* Fix PingFlag not being set correctly for servers whose burst takes longer ↵Gravatar danieldg2009-04-223-25/+5
| | | | | | than PingFreq git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11324 e03df62e-2008-0410-955e-edbf42e46eb7
* Abort link early when mismatched modules are detected so that the error ↵Gravatar danieldg2009-04-211-1/+2
| | | | | | message is more useful git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11323 e03df62e-2008-0410-955e-edbf42e46eb7
* Actually use irc::modestacker correctlyGravatar danieldg2009-04-203-16/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11322 e03df62e-2008-0410-955e-edbf42e46eb7
* Use loopCall to protect OnUserKick rather than the triggerevents hackGravatar danieldg2009-04-204-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11321 e03df62e-2008-0410-955e-edbf42e46eb7
* Initialize loopCall on constructionGravatar danieldg2009-04-191-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11320 e03df62e-2008-0410-955e-edbf42e46eb7
* Add loopCall to prevent double-broadcasting new X:linesGravatar danieldg2009-04-193-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11319 e03df62e-2008-0410-955e-edbf42e46eb7
* Send snotices when m_dnsbl adds an xline; fixes bug #837Gravatar danieldg2009-04-191-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11318 e03df62e-2008-0410-955e-edbf42e46eb7
* Change a few more modules to send global a/A snoticesGravatar danieldg2009-04-183-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11317 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert m_dnsbl to send globally routed snomasks. Fixes bug #836Gravatar danieldg2009-04-181-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11315 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't send out UID for users that are quitting, because the QUIT won't be ↵Gravatar danieldg2009-04-181-0/+2
| | | | | | sent and they become a ghost git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11313 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix realhost leak when users on different servers get +W notifications. ↵Gravatar danieldg2009-04-171-1/+2
| | | | | | Noticed by mooncup. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11311 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix memory leak in m_filter rehashGravatar danieldg2009-04-171-6/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11308 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix SetModeParam to use std::string and handle edge cases.Gravatar danieldg2009-04-175-24/+14
| | | | | | | 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
* Addendum to r11303, fix for bug #833: use correct result for the type ↵Gravatar peavey2009-04-161-1/+1
| | | | | | (bitmask/record), based on patch by Milliways, thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11305 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert snomask 'A' into snomask 'a' for local announcements, add snomask ↵Gravatar w00t2009-04-1629-65/+66
| | | | | | | | | '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
* Correctly announce dnsbl hits, fixes bug #833 reported by Milliways.Gravatar w00t2009-04-161-5/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11303 e03df62e-2008-0410-955e-edbf42e46eb7
* Register the OnUserPreJoin hook, and check for null channel firstGravatar danieldg2009-04-101-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11301 e03df62e-2008-0410-955e-edbf42e46eb7
* Move +O check out of OnCheckBan to change error message and avoid triggering ↵Gravatar danieldg2009-04-101-3/+10
| | | | | | restrictbanned git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11300 e03df62e-2008-0410-955e-edbf42e46eb7
* If you're going to add magical number hacks, please comment them ↵Gravatar w00t2009-04-091-0/+7
| | | | | | appropriately to reduce future maintenence burden. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11297 e03df62e-2008-0410-955e-edbf42e46eb7
* Set topic timestamp on newly created channels to a dummy value to work ↵Gravatar danieldg2009-04-081-0/+3
| | | | | | around bug #739 without protocol changes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11292 e03df62e-2008-0410-955e-edbf42e46eb7
* m_shun: Allow nick targets for removal as well, in the same format as additionGravatar special2009-04-061-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11290 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix shun not applying if you add an IP mask for a user that has a host which ↵Gravatar peavey2009-04-061-1/+1
| | | | | | resolves. Spotted by Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11289 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for nick targets like other xlines. Patch by Ankit.Gravatar peavey2009-04-061-6/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11288 e03df62e-2008-0410-955e-edbf42e46eb7
* Weed out a few leftover server instances from before modules had ↵Gravatar peavey2009-04-063-11/+4
| | | | | | ServerInstance. Patch by Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11287 e03df62e-2008-0410-955e-edbf42e46eb7
* Use 'c' snomask instead of 'A' snomask for ldap auth failures, reported by ↵Gravatar w00t2009-04-031-8/+8
| | | | | | drich. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11283 e03df62e-2008-0410-955e-edbf42e46eb7
* Textual fixes. Patch by Ankit.Gravatar peavey2009-04-032-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11282 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix up logic in m_allowinvite: extban A prevents /invite in all cases; ↵Gravatar dz2009-04-021-1/+7
| | | | | | 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
* Add validation of parameters as a fix for bug #917, and add maxpara so that ↵Gravatar brain2009-04-011-2/+12
| | | | | | we don't need the : before the reason git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11278 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ping server-skip logic from bug 792 fixGravatar danieldg2009-04-011-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11277 e03df62e-2008-0410-955e-edbf42e46eb7
* Correct fix for bug #815, IPv6 code needs to check for IPv4 sa_family and ↵Gravatar danieldg2009-04-011-11/+8
| | | | | | handle it properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11276 e03df62e-2008-0410-955e-edbf42e46eb7
* Partial revert of r11274 (m_ident binding, bug #815); the meaning of this ↵Gravatar special2009-04-011-1/+19
| | | | | | 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
* Correct bind address of ident requests on multihomed IPv6-capable servers.Gravatar danieldg2009-04-011-60/+26
| | | | | | Fixes bug #815, reported by Szymek. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11274 e03df62e-2008-0410-955e-edbf42e46eb7
* Report the filter type the user supplied instead of the pattern when ↵Gravatar dz2009-03-271-1/+1
| | | | | | reporting an invalid type in m_filter, fixes bug #802 spotted by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11269 e03df62e-2008-0410-955e-edbf42e46eb7