aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Give pgsql some needed love. Dont use DNS, remove some unused hooks and its ↵Gravatar peavey2009-03-271-82/+7
| | | | | | not possible to work over unix socket, simply dont define host, or start with a slash to define the socket yourself. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11268 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix potential crash on uninitialised varGravatar peavey2009-03-271-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11267 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't use metadata in m_shun, this fixes problems with expiry reported by ↵Gravatar w00t2009-03-271-5/+2
| | | | | | Taros in bug #772. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11266 e03df62e-2008-0410-955e-edbf42e46eb7
* Instead of emptying parameters on shunned PART, only empty the reason. Fixes ↵Gravatar w00t2009-03-271-1/+1
| | | | | | bug #810, reported by Casey and others. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11265 e03df62e-2008-0410-955e-edbf42e46eb7
* Use LastParseParams in m_opermodes because mode paramaters like +s +* can be ↵Gravatar danieldg2009-03-251-9/+1
| | | | | | modified by the mode parser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11258 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this compile.Gravatar peavey2009-03-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11255 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compile error due to mismergeGravatar danieldg2009-03-231-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11254 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: Allow interthread signaling without needing as many hacksGravatar danieldg2009-03-232-350/+74
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11251 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: remove MutexFactory, mutexes should be constructed using their ↵Gravatar danieldg2009-03-232-52/+37
| | | | | | constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7
* ThreadEngine: remove excessive mutex use on thread creationGravatar danieldg2009-03-232-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge simple fix from Ankit, thanksGravatar brain2009-03-221-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11247 e03df62e-2008-0410-955e-edbf42e46eb7
* No need to show the censored word twice! :)Gravatar brain2009-03-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11245 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply ankit's patch for bug #780 with a minor tweak, re-introduce the ↵Gravatar brain2009-03-223-5/+17
| | | | | | 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
* Nicer reworded numeric from ankit, thanksGravatar brain2009-03-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11243 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a bad malloc (why the hell is it malloc???) in m_nationalcharsGravatar brain2009-03-201-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11240 e03df62e-2008-0410-955e-edbf42e46eb7
* Make m_dccallow reread badfiles on rehash, not just on load.Gravatar dz2009-03-181-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11235 e03df62e-2008-0410-955e-edbf42e46eb7
* fix dccallow logic to allow <badfile:action> to override ↵Gravatar dz2009-03-181-8/+11
| | | | | | <dccallow:defaultaction>, spotted by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11234 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #791, if an error is set treat this as 'could not get certificate'Gravatar brain2009-03-181-4/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11233 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #784 reported by HiroP, add check to the FHOST code to not send ↵Gravatar brain2009-03-181-1/+7
| | | | | | 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
* Fix for bug #792 reported by recyclebin, do not attempt to ping local ↵Gravatar brain2009-03-181-0/+6
| | | | | | servers which are not fully connected yet, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11230 e03df62e-2008-0410-955e-edbf42e46eb7