summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2007-03-15Change the numeric text to match the new configuration. Tidyup comments and ↵peavey
DEBUG. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6680 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15Add support for MAP of chars considered to be CAPS to config for better control.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6678 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15Add third parameter to OnUserQuit (quit reason for opers only) - bump api ↵brain
version Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-15Someone is getting slapped for this; the new hidesplits/hidebans behavior ↵special
doesn't actually check if those options are enabled. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6673 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-14Fix blockcaps. Who on earth thought that percentage was x*100 / y ???brain
Its (x/y)*100, muppets :p (also, you cant do floating point maths on integers) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6672 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Remove stray "Notice:" - text only changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6663 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Fix minor bug, number of users listing doesnt decrement if a user quits ↵brain
while they are in the middle of listing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6662 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Add safelist:maxlisters which prevents more than x number of people doing a ↵brain
LIST at the same time. (as i've just noticed, 500 bots all doing LIST at once can severely lag your ircd) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6658 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Added OnBufferFlush, improved m_safelist, no longer works on a timer but ↵brain
works on the writeability state of each user who is listing. Seems to test fine with 500 reet bots all listing at once. (doesnt lock up the ircd while listing them all any more, either, just lags a small amount) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6657 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Fixed a crash with a malformed server-to-server NICK command, thanks dmbspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6656 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Just commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6655 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Comments only.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6653 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-11Bump protocol revisionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6652 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10This now makes RemoveStatus remove *everything* as pointed out by jilles. ↵brain
This will prevent simplemodes desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6651 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Add a TODO commentbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6650 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Whoops, fix a silly bug i just introduced :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6649 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Move FJOIN propogation above the FMODEs generated by winning an FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6648 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Remove yet more debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6647 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Remove debug code left in herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6646 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Fix typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6645 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10HIGHLY EXPERIMENTAL: This needs heavy testing -- new FMODE behaviour:brain
(1) IF THEIRTS <= OURTS, ACCEPT MODE AND PASS ON (2) If THEIRTS > OURTS, drop the mode and DONT pass on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6644 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-10Change mask variable to irc::string to allow for case insensitive ↵brain
removal/addition git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6642 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-08Take away a uline specific check in fmode, which might explain why desyncs ↵brain
between servers only occur when theres a ulined server about. QA please test this with at least 2 insps and services and server syncs/splits, check for channel mode desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6638 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-08Change options:notimesync to options:timesync -> reverse its meaning and ↵brain
default it to off git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6637 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-08Patch by satmd to support using IP addresses with cgiircspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6634 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-06Fix on-rehash reloading of the lists... and why were we tokenizing the ↵brain
string on every connect/operup, when we should do it once on rehash? This makes it a ton faster. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6632 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-06Fix for bug #237brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6631 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-06This properly fixes options:hidebans and options:hidesplits by providing the ↵brain
facility to have two different quit messages for a user, one an oper sees and one a normal user sees. There are default values on the oper_quit parameters through the entire source so that if oper_quit parameter is not given it defaults to the same as the user_quit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6630 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-05State that the channel is full, to avoid confusionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6627 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-05Return 1 not 0, we dont want two numerics. (thanks peavey)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6626 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-05Change oper notice into a numeric to the user:brain
%s :%s has a circular redirect (+L). Not following redirection to %s. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6625 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Allow for the cgiirc module to change the users host if it doesnt resolvebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6622 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Fix double-dereference in CheckIdent and CheckPass which causes the values ↵brain
of the userrec to be overwritten with an ascii ip address. (oops!) Fixes primary cause for bug #215, NEEDS QA TESTING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6620 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-03Fix m_services_account logout by allowing meta with empty data field. ↵peavey
Tracker: bug #226 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6618 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-02Do not perform redirect on chained channel links, tell user channel is full ↵peavey
and SNOTICE the offending channel(s). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6616 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-27Fix for small display issue, when both ssl modules are loaded, both output a ↵brain
'is ssl' numeric for ssl users in whois. This fix ensures that only an ssl module thats listening on client ports will output the whois. Theres no need to bind openssl and gnutls both to client ports, however some people use openssl for server ports and gnutls for client ports, or vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6615 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-25Ensure that simplemodes are sent first (jilles requested this)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6611 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-25Bans are bursted using a large string buffer to save on write() calls, so ↵brain
the way we handle clamping the ban sending to 350 chars is slightly different than the changes just made to modestacker. works he same though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6610 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-25Add max line length value to modestacker, so that it can clamp the max ↵brain
length of a composed line to a given size. Defaults to 350 which should be safe with fmode and mode with a server name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6609 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-20Make these vendor modules.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6604 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Few more cleanups (no need to update, shouldn't have changed any behaviour..)om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6594 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Stop this using some global ServerInstance (where's that even defined? :|) ↵om
and do some slight cleanups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6593 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Account for bearbots whos CTCP TIME misses the ending \1 from the CTCPbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6592 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-18Eliminate some string copies, tidy some code, and reverse some short-circuit ↵brain
checks (Expensive(x) && Cheap(y)) -> (Cheap(y) && Expensive(x)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6591 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Remove redundant debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6587 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Drop the invalid command generated by the bearbot CTCP TIME checkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6586 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Check CTCP TIME on bearbotsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6585 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Get rid of a compile warning. We should remember to use time_t for time ↵peavey
variables and not unsigned int. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6584 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-14Force ipv4 lookups here - cgiirc doesnt support ipv6 anyway.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6582 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12I'm not sure OnPostOper is called for remote opering anyway, but to be sure, ↵brain
dont execute it for remote users in this module (just wastes cpu time) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6579 e03df62e-2008-0410-955e-edbf42e46eb7