aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Check IsBanned even when the ban list is empty, so that module hooks get ↵Gravatar danieldg2009-03-231-6/+3
| | | | | | called. Fixes bug #800, reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11248 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
* Revert r11241 due to crashiness when rehashing from IRC.Gravatar dz2009-03-221-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11246 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
* Actually close file log FDs when we're done with them.Gravatar dz2009-03-211-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11241 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
* Show users their own server name in "/whois myself"Gravatar danieldg2009-03-191-56/+48
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11236 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 #788, set user->quitting before writing error to users socket, ↵Gravatar brain2009-03-182-6/+8
| | | | | | | | | and allow appending to sendq for quitting users (just don't check sendq's on quitting users) This allows the ERROR message to reach the user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11231 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
* Fix for bug #773 reported by Taros, thanks!Gravatar brain2009-03-181-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11229 e03df62e-2008-0410-955e-edbf42e46eb7
* fix for bug #777Gravatar brain2009-03-181-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11228 e03df62e-2008-0410-955e-edbf42e46eb7
* Instead of re adding the HandshakeTimer in m_spanningtree, make it a ↵Gravatar psychon2009-03-161-2/+4
| | | | | | reoccurring timer and kill at the right time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11227 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_shun silently blocking allowed commands on shunned users, fixes bug ↵Gravatar dz2009-03-151-1/+2
| | | | | | #771 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11225 e03df62e-2008-0410-955e-edbf42e46eb7
* Use IS_OPER(u) instead of checking for umode +o to correctly add opers ↵Gravatar dz2009-03-151-1/+1
| | | | | | during bursts, fixes bugs #786 and #778 reported by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11224 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-15340-342/+342
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Extban rework: allow exceptions to override bans on joinGravatar danieldg2009-03-1418-155/+91
| | | | | | | | | Move all bans that prevent a user from joining the channel to OnCheckBan, then stack their return results to allow an exception to override a ban. This does not make join exceptions override any other exception like mute. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11222 e03df62e-2008-0410-955e-edbf42e46eb7
* Show the IP address only in zline added messages if *@ip was supplied.Gravatar dz2009-03-141-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11221 e03df62e-2008-0410-955e-edbf42e46eb7
* Strip a zline target of anything resembling an ident prior to sanity ↵Gravatar dz2009-03-141-16/+9
| | | | | | checking rather than after, fixes bug #766 reported by Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11220 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow commands to be reloaded when they previously failed to loadGravatar danieldg2009-03-141-12/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11219 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert r11194 "Quiet bursts for uplinks, suggested by HiroP, thanks!"Gravatar danieldg2009-03-144-16/+9
| | | | | | | This check on uplink was not sufficient. It has been replaced by marking children of a bursting server as bursting, so the uplink is no longer needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11218 e03df62e-2008-0410-955e-edbf42e46eb7
* Mark children of remote servers as bursting while their parent is burstingGravatar danieldg2009-03-143-1/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11217 e03df62e-2008-0410-955e-edbf42e46eb7
* Send remote BURST on new incoming server introductionGravatar danieldg2009-03-141-7/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11216 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #775, GRELOADMODULE displays success message on failure. Reported by ↵Gravatar danieldg2009-03-131-1/+5
| | | | | | Taros git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11214 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #779, SSL metadata sent using the wrong case. Thanks HiroPGravatar danieldg2009-03-132-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11213 e03df62e-2008-0410-955e-edbf42e46eb7
* Follow-up fix to r11081. Escalate minimum privileges from '%' to '@' if ↵Gravatar peavey2009-03-131-2/+4
| | | | | | halfops are disabled by configuration. Possibly TODO: better handling of minimum privs after RC freeze is over. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11212 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix an oper-triggerable crash on CBAN; found by TarosGravatar special2009-03-121-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11211 e03df62e-2008-0410-955e-edbf42e46eb7
* Send denied commands to the correct snomask (t, not d). Reported by HiroP.Gravatar w00t2009-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11209 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the ident module assume that a connect tag wants ident functionality ↵Gravatar peavey2009-03-111-1/+1
| | | | | | unless told explicitly not, this matches the old behavior before the option was added. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11206 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ComparePass for servers not supporting HMAC-SHA256 when ↵Gravatar danieldg2009-03-111-2/+2
| | | | | | ChallengeResponse is on in configuration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11205 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix fast quit/connect by changing nick to UID on QuitUserGravatar danieldg2009-03-102-21/+25
| | | | | | | This requires moving the sending of the QUIT back to usermanager from cull_list in order to prevent client desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11203 e03df62e-2008-0410-955e-edbf42e46eb7
* Send (last message repeated N times) snomask to log channelGravatar danieldg2009-03-101-3/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11202 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix snomask stacking to only delay (last message repeated) part of the snomaskGravatar danieldg2009-03-101-33/+40
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11201 e03df62e-2008-0410-955e-edbf42e46eb7
* 1.2.0rc2+PepperSteik v1.2.0rc2Gravatar w00t2009-03-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11199 e03df62e-2008-0410-955e-edbf42e46eb7
* Apparantly someone can't figure out which index to check. Fixes CHGHOST with ↵Gravatar w00t2009-03-101-1/+1
| | | | | | blank hosts, thanks Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11196 e03df62e-2008-0410-955e-edbf42e46eb7
* Push password comparison logic into ComparePass, fixes authentication bug ↵Gravatar danieldg2009-03-102-13/+7
| | | | | | noticed by HiroP git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11195 e03df62e-2008-0410-955e-edbf42e46eb7
* Quiet bursts for uplinks, suggested by HiroP, thanks!Gravatar brain2009-03-104-9/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11194 e03df62e-2008-0410-955e-edbf42e46eb7
* Flush snotices instantly on send (disable queueing) - in it's present form, ↵Gravatar w00t2009-03-091-0/+2
| | | | | | it appears it annoys OCD opers. Will be reintroduced to be less irritating in future. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11193 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Taros to regular contributors list, too.Gravatar w00t2009-03-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11192 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #751 (wallops are not being processed remotely), reported by Taros.Gravatar w00t2009-03-091-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11191 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #764 (/stats i outputs numerics with uppercase I), reported by ↵Gravatar w00t2009-03-091-1/+1
| | | | | | KingTarquin, thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11190 e03df62e-2008-0410-955e-edbf42e46eb7
* Rewrite BufferedSocket::BindAddr to actually make sense, and not infinite ↵Gravatar w00t2009-03-091-61/+86
| | | | | | | | | | loop under some conditions, etc. This also splits a lot of it into DoBindMagic(), for readability. Seems to work okay on an invalid bind and nonexistant bind.. Fixes bug #754, reported by HiroP and Indoril. Fix FD leak in some circumstances: if bind fails hard (requested address couldn't be bound), Close() the socket. Also fixes a deficiency of the previous commit in that if one address failed to bind, the FD would be invalidated. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11189 e03df62e-2008-0410-955e-edbf42e46eb7
* An FJOIN is not bursting unless the source server is burstingGravatar danieldg2009-03-091-1/+1
| | | | | | Fixes bug #755 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11188 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly fill LastParseParams on servermode. Fixes bug 763, thanks AnkitGravatar danieldg2009-03-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11187 e03df62e-2008-0410-955e-edbf42e46eb7
* m_override: fix messages on multi-mode changesGravatar danieldg2009-03-082-105/+95
| | | | | | This fixes bug 664 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11186 e03df62e-2008-0410-955e-edbf42e46eb7