summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-11Remove/Add cmode h according to <option:allowhalfop>. Fixes bug #715 ↵peavey
reported by Strawberry. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11081 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-09Trap SIGXFSZbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11067 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-08The cow is ready, come get it!!! :Dbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11062 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-07Remove duplicate MacGyver.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11041 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-06Some fixes to the kqueue socket enginepsychon
The old code choked badly if a socket which was !eh->Readable() was added (it went into an endless loop where kqueue would keep reporting that socket for writeability). This also fixes a bug where DelFd() failed to clean up properly which caused the next AddFd() for an identical fd number to fail. Oh and this also adds some error messages and does some minor cleanup... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11033 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-04Add Ankit to regular contributors listw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11031 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-03Fix minor memory leak, patch by Darom. Closes bug #699. Thanks!`w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11025 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-31Fix compile errordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11018 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-31Fix for bug #695. For now, we cant be sure what parts of the code might ↵brain
still use empty nick to signify a server, so lets just avoid messing with it until 1.2+1 and use this simple workaround instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11016 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-27Credits updates.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11009 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-27Fix the poll socketengine to actually work.psychon
The old implementation tried to use holes for unused entries in the array for poll() and the OS replied with POLLNVAL to which we replied with 100% CPU. Improvements: - It does compile! - It works git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11008 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-27Check line expiry when touching an xline, to prevent huge buildup of stale ↵w00t
lines chomping CPU. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11007 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25Allow +l 0 (for +PlL #newchan).w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11006 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25This can't be case sensitive because it's not consistant, and also would ↵w00t
break having two extbans of differing case but same letter on the same mask (+bb m:f M:f). Also found courtesy of Jason. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11005 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-25Format this message a little nicer.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11004 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-23Remove an unused event.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10989 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-22Fix for bug found by danieldg, where remote nicks were truncated to NICKMAX, ↵brain
but NICKMAX can now vary from server to server, so only truncate the nickname for local nicknames. For remote nicknames, allow any length nickname up to MAXBUF (the max length of an IRC line) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10984 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-22Fix for bug #686, include sysctl.h in a freebsd-specific ifdefbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10983 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