summaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge patch for WEBIRC command from satmdGravatar brain2007-02-101-6/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6565 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve +f kick message:Gravatar brain2007-02-101-1/+3
| | | | | | | [17:25] --- You have been kicked from #test by test2.chatspike.net (Channel flood triggered (limit is 4 lines in 20 secs)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6564 e03df62e-2008-0410-955e-edbf42e46eb7
* Make some stuff configurable that hasnt been and should be.Gravatar brain2007-02-102-4/+14
| | | | | | | | <securelist waittime="n">: number of seconds a user must wait before LIST <safelist throttle="n">: Number of seconds a user must wait between each LIST command git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6563 e03df62e-2008-0410-955e-edbf42e46eb7
* Finally make this module work at all on 1.1Gravatar brain2007-02-101-36/+41
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6558 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for nonexistent fileGravatar brain2007-02-091-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6556 e03df62e-2008-0410-955e-edbf42e46eb7
* Add and properly test the ability for an InspTimer to DelTimer itself from ↵Gravatar brain2007-02-091-2/+6
| | | | | | | | | | | within its own Tick method. This wasnt supported before and would corrupt the iterator in the TickTimers() method of TimerManager. Non the less, peaveys new (perfectly sensible) fix broke it because i didnt document the caveat about DelTimer() :p This FIXES m_ident and possibly some other stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6553 e03df62e-2008-0410-955e-edbf42e46eb7
* And change this to gnutls in the debug message.Gravatar brain2007-02-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6552 e03df62e-2008-0410-955e-edbf42e46eb7
* Catch the ModuleException thrown when AddIOHook fails, so that we can make a ↵Gravatar brain2007-02-082-16/+30
| | | | | | port hook failure nonfatal. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6551 e03df62e-2008-0410-955e-edbf42e46eb7
* Try without deletes that it done anyway on close of InspSocket's socket.Gravatar peavey2007-02-081-11/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6548 e03df62e-2008-0410-955e-edbf42e46eb7
* Consider your crackpipes confiscated, there was some right dailywtf-worthy ↵Gravatar brain2007-02-071-4/+3
| | | | | | stuff in here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6547 e03df62e-2008-0410-955e-edbf42e46eb7
* A quick unit test shows this is broken -- fix quickGravatar brain2007-02-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6545 e03df62e-2008-0410-955e-edbf42e46eb7
* satmd tell me if this works, if ive got the wrong octet i need to change a ↵Gravatar brain2007-02-071-23/+8
| | | | | | bit of logic ops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6544 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix warning, remove unused varGravatar brain2007-02-071-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6543 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember: C++ only works if you type the right method names and not ones ↵Gravatar brain2007-02-072-4/+4
| | | | | | that dont exist. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6542 e03df62e-2008-0410-955e-edbf42e46eb7
* Ident fixes,Gravatar brain2007-02-072-10/+25
| | | | | | | | removal of some old craq we dont use. cgiirc optimizations and tidyups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6541 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix ipv6 ass-u-me'sGravatar brain2007-02-072-4/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6540 e03df62e-2008-0410-955e-edbf42e46eb7
* Add InvalidateCache() calls and fix a ton of ass-u-me :/Gravatar brain2007-02-071-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6539 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this work when we have both ipv6 and ipv4 connections at onceGravatar brain2007-02-071-3/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6538 e03df62e-2008-0410-955e-edbf42e46eb7
* To be more specific, specify rpath() macro hereGravatar brain2007-02-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6537 e03df62e-2008-0410-955e-edbf42e46eb7
* Support port binding hereGravatar brain2007-02-076-5/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6535 e03df62e-2008-0410-955e-edbf42e46eb7
* If a user connects over 4in6 (YUCK) give them an ipv4 cloakGravatar brain2007-02-071-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6533 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug #205 reported by nenolod (modules that erroneously check remote ↵Gravatar brain2007-02-0714-7/+29
| | | | | | users to apply privmsg/notice restrictions) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6532 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra safety checks while exchanging certs, just in caseGravatar brain2007-02-061-4/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6531 e03df62e-2008-0410-955e-edbf42e46eb7