summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Remove stray "Notice:" - text only changeGravatar brain2007-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6663 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix minor bug, number of users listing doesnt decrement if a user quits ↵Gravatar brain2007-03-111-0/+1
| | | | | | while they are in the middle of listing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6662 e03df62e-2008-0410-955e-edbf42e46eb7
* Add safelist:maxlisters which prevents more than x number of people doing a ↵Gravatar brain2007-03-111-0/+16
| | | | | | | | | 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
* Added OnBufferFlush, improved m_safelist, no longer works on a timer but ↵Gravatar brain2007-03-111-136/+61
| | | | | | | | | 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
* Fixed a crash with a malformed server-to-server NICK command, thanks dmbGravatar special2007-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6656 e03df62e-2008-0410-955e-edbf42e46eb7
* Just commentsGravatar brain2007-03-111-1/+71
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6655 e03df62e-2008-0410-955e-edbf42e46eb7
* Comments only.Gravatar brain2007-03-114-22/+156
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6653 e03df62e-2008-0410-955e-edbf42e46eb7
* Bump protocol revisionGravatar brain2007-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6652 e03df62e-2008-0410-955e-edbf42e46eb7
* This now makes RemoveStatus remove *everything* as pointed out by jilles. ↵Gravatar brain2007-03-101-36/+5
| | | | | | This will prevent simplemodes desyncs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6651 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a TODO commentGravatar brain2007-03-101-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6650 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, fix a silly bug i just introduced :pGravatar brain2007-03-101-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6649 e03df62e-2008-0410-955e-edbf42e46eb7
* Move FJOIN propogation above the FMODEs generated by winning an FJOINGravatar brain2007-03-101-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6648 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove yet more debugGravatar brain2007-03-101-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6647 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove debug code left in hereGravatar brain2007-03-101-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6646 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typoGravatar brain2007-03-101-10/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6645 e03df62e-2008-0410-955e-edbf42e46eb7
* HIGHLY EXPERIMENTAL: This needs heavy testing -- new FMODE behaviour:Gravatar brain2007-03-101-255/+4
| | | | | | | | (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
* Change mask variable to irc::string to allow for case insensitive ↵Gravatar brain2007-03-102-5/+3
| | | | | | removal/addition git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6642 e03df62e-2008-0410-955e-edbf42e46eb7
* Take away a uline specific check in fmode, which might explain why desyncs ↵Gravatar brain2007-03-081-8/+1
| | | | | | | | | 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
* Change options:notimesync to options:timesync -> reverse its meaning and ↵Gravatar brain2007-03-081-1/+1
| | | | | | default it to off git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6637 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch by satmd to support using IP addresses with cgiircGravatar special2007-03-081-3/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6634 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix on-rehash reloading of the lists... and why were we tokenizing the ↵Gravatar brain2007-03-062-18/+22
| | | | | | 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
* Fix for bug #237Gravatar brain2007-03-062-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6631 e03df62e-2008-0410-955e-edbf42e46eb7
* This properly fixes options:hidebans and options:hidesplits by providing the ↵Gravatar brain2007-03-061-1/+1
| | | | | | | | | 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
* State that the channel is full, to avoid confusionGravatar brain2007-03-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6627 e03df62e-2008-0410-955e-edbf42e46eb7
* Return 1 not 0, we dont want two numerics. (thanks peavey)Gravatar brain2007-03-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6626 e03df62e-2008-0410-955e-edbf42e46eb7
* Change oper notice into a numeric to the user:Gravatar brain2007-03-051-2/+2
| | | | | | | %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
* Allow for the cgiirc module to change the users host if it doesnt resolveGravatar brain2007-03-031-3/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6622 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix double-dereference in CheckIdent and CheckPass which causes the values ↵Gravatar brain2007-03-031-6/+6
| | | | | | 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
* Fix m_services_account logout by allowing meta with empty data field. ↵Gravatar peavey2007-03-032-2/+5
| | | | | | Tracker: bug #226 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6618 e03df62e-2008-0410-955e-edbf42e46eb7
* Do not perform redirect on chained channel links, tell user channel is full ↵Gravatar peavey2007-03-021-0/+10
| | | | | | and SNOTICE the offending channel(s). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6616 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for small display issue, when both ssl modules are loaded, both output a ↵Gravatar brain2007-02-272-0/+14
| | | | | | | | | | '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
* Ensure that simplemodes are sent first (jilles requested this)Gravatar brain2007-02-251-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6611 e03df62e-2008-0410-955e-edbf42e46eb7
* Bans are bursted using a large string buffer to save on write() calls, so ↵Gravatar brain2007-02-251-3/+11
| | | | | | | | | 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
* Add max line length value to modestacker, so that it can clamp the max ↵Gravatar brain2007-02-251-0/+6
| | | | | | 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
* Make these vendor modules.Gravatar peavey2007-02-202-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6604 e03df62e-2008-0410-955e-edbf42e46eb7
* Few more cleanups (no need to update, shouldn't have changed any behaviour..)Gravatar om2007-02-181-19/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6594 e03df62e-2008-0410-955e-edbf42e46eb7
* Stop this using some global ServerInstance (where's that even defined? :|) ↵Gravatar om2007-02-181-14/+7
| | | | | | and do some slight cleanups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6593 e03df62e-2008-0410-955e-edbf42e46eb7
* Account for bearbots whos CTCP TIME misses the ending \1 from the CTCPGravatar brain2007-02-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6592 e03df62e-2008-0410-955e-edbf42e46eb7
* Eliminate some string copies, tidy some code, and reverse some short-circuit ↵Gravatar brain2007-02-186-32/+14
| | | | | | | | | 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
* Remove redundant debugGravatar brain2007-02-171-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6587 e03df62e-2008-0410-955e-edbf42e46eb7
* Drop the invalid command generated by the bearbot CTCP TIME checkGravatar brain2007-02-171-0/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6586 e03df62e-2008-0410-955e-edbf42e46eb7
* Check CTCP TIME on bearbotsGravatar brain2007-02-171-3/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6585 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a compile warning. We should remember to use time_t for time ↵Gravatar peavey2007-02-171-1/+1
| | | | | | variables and not unsigned int. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6584 e03df62e-2008-0410-955e-edbf42e46eb7
* Force ipv4 lookups here - cgiirc doesnt support ipv6 anyway.Gravatar brain2007-02-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6582 e03df62e-2008-0410-955e-edbf42e46eb7
* I'm not sure OnPostOper is called for remote opering anyway, but to be sure, ↵Gravatar brain2007-02-121-0/+3
| | | | | | 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
* Only apply force join to local clientsGravatar brain2007-02-121-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6578 e03df62e-2008-0410-955e-edbf42e46eb7
* Get rid of a compile warning.Gravatar peavey2007-02-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6576 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_conn_join, allows force join of a user to one or more channels on ↵Gravatar brain2007-02-112-4/+111
| | | | | | | | | connect (ick). Tidy up m_operjoin a little. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6575 e03df62e-2008-0410-955e-edbf42e46eb7
* Special *slap* seems to have set this to true :/Gravatar brain2007-02-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6574 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow for nick!user@host in TOPIC information.Gravatar brain2007-02-111-1/+1
| | | | | | | Note that this adds another <options> tag value, 'hostintopic'. (defaults to yes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6572 e03df62e-2008-0410-955e-edbf42e46eb7