summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2009-02-12Nuke an unused varpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11091 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-12Several fixes to mysql module:peavey
* Resolve a deadlock sneaking in when using queries during module load time (start up) triggered by such modules as sqllog. * Move a few mysql vars to the heap to avoid random stack corruption (valgrind no longer complains either). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11090 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-12Make notice slightly more pretty, suggestion from KingTarquin.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11089 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-11I really dont get the oddball count()? rewrite itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11088 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-11Merge in initial numbered parameters patch from Phoenix, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11087 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-11Add a missing colon. Due to PUSH, it requires two here. Reported by Jobe, ↵w00t
thanks! :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11084 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-11Patch by Phoenixpeavey
* adds line 8 for additional UTF-8 ranges * adds cjk-utf8 locale * fixes check 3.2 and adds check 3.3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11082 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-10Prevent fantasy aliases from blocking user commands (eg. !topic would ↵dz
prevent users from using /topic). Also as a result of this change, any aliases where the command does not actually exist and are either strictly fantasy commands or no formats match will result in a unknown command message. Fixes bug #714, spotted by CJ -- thanks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11080 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09Remove space before first user in FJOIN; also call c->ChanModes less for ↵danieldg
large channels git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11079 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09Fix merge FJOIN debug messagedanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11078 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-09Merge fantasy:allowbots patch from Taros, closing off bug #709, thanks!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11069 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08Fix: always have a colon marking the last FJOIN parameter, otherwise servers ↵w00t
are going to try to add users to servers on perm channels with modes, etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11066 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08Grr fucking windows grrrr fuckity fuckitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11059 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08Apply patch for bug #704 from Darom, shun:affectopers option -- Thanks!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11057 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-08Add a snotice when a user tries to use WEBIRC without matching any ↵w00t
configured blocks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11050 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04Prioritize nicklock before nickflood, so nickflood does not erroneously ↵w00t
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
2009-02-04Allow SANICK, SVSNICK, NICKLOCK, etc to override +bN N:. Fixes bug #607 and ↵w00t
#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
2009-02-04fix little typo in syntax hint, type => actionpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11027 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-01Don't prevent a user from seeing themself on NAMES if +D is set, fixes part ↵dz
of bug #697 reported by Ankit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11022 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31We already have an error for not enough params to the SERVER command, but ↵brain
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
2009-01-28Remove an incorrect commentw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11013 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-28Note to self, cast time_t to long int for printf... thanks Ankit for ↵dz
pointing this out. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11012 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-28Make xline expiry messages a bit clearer that the xline may have expired a ↵dz
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
2009-01-25Fix m_nopartmsg using the wrong extban character in 005, noted thanks to Jason.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11003 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25This is more accuratebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11002 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25Properly check if the SSL handshake is completed in m_ssl_gnutls, fixes the ↵dz
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
2009-01-25Try this as the ssl crash fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10998 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-24Fix some spaces as indent and one double space in m_override so that Ankit ↵psychon
is happy again git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10996 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23Remove unneccessary safety loopbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10993 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23Adapt this to syntax guidelines for inspircd, and fix a bug where users whos ↵brain
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
2009-01-23Templateise thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10991 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-23Fix m_nationalchars using a copy and paste of my unsafe copy and paste ↵brain
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
2009-01-22Add $gecos, $ident, $server, $uuid vars for building possible auth queries. ↵brain
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
2009-01-22Update copyright date.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10982 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fix a small warning (char being used as array subscript) by just using int ↵w00t
instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10981 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fixes bug #655: National characters support, patch written mostly by ↵w00t
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
2009-01-22Fix bug #659, #524 and others: Allow operoverride to set +qa. Based on patch ↵w00t
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
2009-01-22Fix bug #678 reported by Ankit (opertype invex wasn't working, as I failed ↵w00t
and forgot to hook the damn event.) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10978 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Revert "Check nickname validity on introduction, closes bug #682 reported by ↵w00t
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
2009-01-21Check nickname validity on introduction, closes bug #682 reported by ↵w00t
danieldg (thanks). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10974 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Hmm, why didnt this go through before?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10973 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Fix bug #673, reported by Ankit: various cosmetic issues with filter. Patch ↵w00t
from Ankit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10969 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-18Fix bug #680, reported by Namegduf: 1.2 SHUN does not respect the notifyuser ↵w00t
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
2009-01-18Fix a small typo in shun notice, reported by Ankit. Closes bug #666. (!)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10967 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-17Fix for bug #679 reported by Namegduf, based on suggestion for fix by dz, ↵brain
thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10966 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-15Prevent snotices being sent out for a completely empty modebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10964 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-10Fix incorrect classname in operinvex (not broken, just wrong code)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10959 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-10Fix bug #665 reported by Ankit, m_services_account.so was denying its own ↵dz
mode change on nick change. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10958 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-09Change /CHECK <#channel> to correctly report timestamp since it might have ↵peavey
been TS synced after creation. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10954 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-09Correctly match alias formats (was backwards) and avoid going on to other ↵dz
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