summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Grr fucking windows grrrr fuckity fuckityGravatar brain2009-02-081-1/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11059 e03df62e-2008-0410-955e-edbf42e46eb7
* Apply patch for bug #704 from Darom, shun:affectopers option -- Thanks!Gravatar brain2009-02-081-0/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11057 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a snotice when a user tries to use WEBIRC without matching any ↵Gravatar w00t2009-02-081-0/+2
| | | | | | configured blocks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11050 e03df62e-2008-0410-955e-edbf42e46eb7
* Prioritize nicklock before nickflood, so nickflood does not erroneously ↵Gravatar w00t2009-02-041-0/+6
| | | | | | | | count changes that nicklock blocks. Fixes bug #687, reported by Ankit. TODO: split OnUserPreNick into OnCanChangeNick, to determine whether or not a user may strictly change nick or not? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11030 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow SANICK, SVSNICK, NICKLOCK, etc to override +bN N:. Fixes bug #607 and ↵Gravatar w00t2009-02-041-0/+4
| | | | | | #644, reported by SnoFox and others. Based on patch by Phoenix in bug #702. Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11029 e03df62e-2008-0410-955e-edbf42e46eb7
* fix little typo in syntax hint, type => actionGravatar peavey2009-02-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11027 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't prevent a user from seeing themself on NAMES if +D is set, fixes part ↵Gravatar dz2009-02-011-0/+4
| | | | | | of bug #697 reported by Ankit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11022 e03df62e-2008-0410-955e-edbf42e46eb7
* We already have an error for not enough params to the SERVER command, but ↵Gravatar brain2009-01-311-2/+2
| | | | | | the error is 'missing SID'. This error can be seen in snomask +l and is sent as ERROR to the connection. Changed to 'Not enough parameters for SERVER command', fixes bug #661 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11014 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove an incorrect commentGravatar w00t2009-01-281-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11013 e03df62e-2008-0410-955e-edbf42e46eb7
* Note to self, cast time_t to long int for printf... thanks Ankit for ↵Gravatar dz2009-01-284-4/+4
| | | | | | pointing this out. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11012 e03df62e-2008-0410-955e-edbf42e46eb7
* Make xline expiry messages a bit clearer that the xline may have expired a ↵Gravatar dz2009-01-284-4/+4
| | | | | | while ago, and give the correct time since they were set instead of the duration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11011 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_nopartmsg using the wrong extban character in 005, noted thanks to Jason.Gravatar w00t2009-01-251-4/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11003 e03df62e-2008-0410-955e-edbf42e46eb7
* This is more accurateGravatar brain2009-01-252-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11002 e03df62e-2008-0410-955e-edbf42e46eb7
* Properly check if the SSL handshake is completed in m_ssl_gnutls, fixes the ↵Gravatar dz2009-01-252-3/+3
| | | | | | recent issue where connections would hang with nothing recieved on either end until registration timeout. Also reverts r10998. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11000 e03df62e-2008-0410-955e-edbf42e46eb7
* Try this as the ssl crash fixGravatar brain2009-01-252-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10998 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some spaces as indent and one double space in m_override so that Ankit ↵Gravatar psychon2009-01-241-10/+10
| | | | | | is happy again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10996 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove unneccessary safety loopGravatar brain2009-01-231-7/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10993 e03df62e-2008-0410-955e-edbf42e46eb7
* Adapt this to syntax guidelines for inspircd, and fix a bug where users whos ↵Gravatar brain2009-01-231-225/+211
| | | | | | nicks are currently a uid will be quit if this module unloads git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10992 e03df62e-2008-0410-955e-edbf42e46eb7
* Templateise thisGravatar brain2009-01-233-73/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10991 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_nationalchars using a copy and paste of my unsafe copy and paste ↵Gravatar brain2009-01-233-36/+1
| | | | | | | | | algorithm, that will lock up if the string to replace contains the string to search for. Finally make this function a core utility function and remove the copies from 3 modules m_alias m_nationalchars and m_sqlauth git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10990 e03df62e-2008-0410-955e-edbf42e46eb7
* Add $gecos, $ident, $server, $uuid vars for building possible auth queries. ↵Gravatar brain2009-01-221-0/+4
| | | | | | These are the 1.2 equivalent of sqlauth:useident, and more. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10987 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyright date.Gravatar w00t2009-01-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10982 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a small warning (char being used as array subscript) by just using int ↵Gravatar w00t2009-01-221-1/+1
| | | | | | instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10981 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes bug #655: National characters support, patch written mostly by ↵Gravatar w00t2009-01-221-0/+404
| | | | | | Phoenix, bits of core support by myself. This means that nicknames using *non ASCII* are now supported when configured, and more importantly, that /msg lowercasenick will go to a person with UPPERCASENICK in foreign character sets. The locale setting MUST be the same network-wide. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10980 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #659, #524 and others: Allow operoverride to set +qa. Based on patch ↵Gravatar w00t2009-01-223-4/+55
| | | | | | by Phoenix. Note that this is currently untested, feedback is very welcome. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10979 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #678 reported by Ankit (opertype invex wasn't working, as I failed ↵Gravatar w00t2009-01-221-2/+2
| | | | | | and forgot to hook the damn event.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10978 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert "Check nickname validity on introduction, closes bug #682 reported by ↵Gravatar w00t2009-01-221-5/+0
| | | | | | | | | | danieldg (thanks)." This broke stuff. This reverts commit 4d29ae6cc6c4f5ba410b58cc0807f018484f6447. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10975 e03df62e-2008-0410-955e-edbf42e46eb7
* Check nickname validity on introduction, closes bug #682 reported by ↵Gravatar w00t2009-01-211-0/+5
| | | | | | danieldg (thanks). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10974 e03df62e-2008-0410-955e-edbf42e46eb7
* Hmm, why didnt this go through before?Gravatar brain2009-01-181-2/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10973 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #673, reported by Ankit: various cosmetic issues with filter. Patch ↵Gravatar w00t2009-01-181-4/+8
| | | | | | from Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10969 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #680, reported by Namegduf: 1.2 SHUN does not respect the notifyuser ↵Gravatar w00t2009-01-181-1/+2
| | | | | | option, and always notifies the user that their command was blocked. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10968 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a small typo in shun notice, reported by Ankit. Closes bug #666. (!)Gravatar w00t2009-01-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10967 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #679 reported by Namegduf, based on suggestion for fix by dz, ↵Gravatar brain2009-01-172-4/+4
| | | | | | thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10966 e03df62e-2008-0410-955e-edbf42e46eb7
* Prevent snotices being sent out for a completely empty modeGravatar brain2009-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10964 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix incorrect classname in operinvex (not broken, just wrong code)Gravatar w00t2009-01-101-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10959 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug #665 reported by Ankit, m_services_account.so was denying its own ↵Gravatar dz2009-01-101-2/+2
| | | | | | mode change on nick change. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10958 e03df62e-2008-0410-955e-edbf42e46eb7
* Change /CHECK <#channel> to correctly report timestamp since it might have ↵Gravatar peavey2009-01-091-2/+2
| | | | | | been TS synced after creation. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10954 e03df62e-2008-0410-955e-edbf42e46eb7
* Correctly match alias formats (was backwards) and avoid going on to other ↵Gravatar dz2009-01-091-5/+10
| | | | | | aliases if none match. Fixes bug #668 reported by Ankit, thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10953 e03df62e-2008-0410-955e-edbf42e46eb7
* Readability: pointless construct of a std::string from another std::string ↵Gravatar brain2009-01-071-1/+1
| | | | | | for throwing an exception git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10952 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix an incorrect check leading to backwards functionality, closes bug #663 ↵Gravatar w00t2009-01-071-1/+1
| | | | | | (hideoper not working), reported by liato. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10950 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed behavior of KICK in m_auditorium, fixes bug #649 reported by Schiz0.Gravatar dz2009-01-041-6/+4
| | | | | | | Also replaced usage of Channel::WriteAllExcept() with WriteAllExceptSender() as the former does not except the sender and requires an extra unused variable. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10944 e03df62e-2008-0410-955e-edbf42e46eb7
* This is out of date, useless, and nobody updates it.Gravatar brain2009-01-041-28/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10943 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #652, reported by Ankit: blank reply from /userip with no target ↵Gravatar w00t2009-01-031-1/+4
| | | | | | online. Thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10941 e03df62e-2008-0410-955e-edbf42e46eb7
* ...and make it not go querying modules that dont implement the right ↵Gravatar brain2009-01-021-4/+8
| | | | | | interface and cause it to crash :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10935 e03df62e-2008-0410-955e-edbf42e46eb7
* If a module is loaded after m_spanningtree that it needs, then it will now ↵Gravatar brain2009-01-023-21/+55
| | | | | | re-read its configuration file. The code is also now in the right place to pick this up on rehash too not just on load. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10934 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-02226-227/+227
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typo opermoth -> opermotd. Thanks Ankit.Gravatar peavey2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10931 e03df62e-2008-0410-955e-edbf42e46eb7
* Make it optional to show opermotd on /OPER, defaults to showing the motd if ↵Gravatar peavey2009-01-021-1/+4
| | | | | | not specified. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10930 e03df62e-2008-0410-955e-edbf42e46eb7
* Change numeric 671, starttls failure to 691. 671 conflicts with unreal's ssl ↵Gravatar brain2008-12-311-1/+1
| | | | | | user numeric. It's documented on our wiki as 'kineircd' but kineircd was never even realeased, so we cant go on that, we'll go with what the unreal numeric says. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10928 e03df62e-2008-0410-955e-edbf42e46eb7
* Modify STARTTLS error message to clarify that it may not be sent after ↵Gravatar w00t2008-12-281-1/+1
| | | | | | registration has commenced. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10922 e03df62e-2008-0410-955e-edbf42e46eb7