summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-19Fix for crashbugs when quitting users as experienced by satmd, SiliconAI and ↵brain
others. QA: Please test combinations of /quit, /kill, and friends. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6595 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-17Change bytes-used counter for commands (used by /stats m) as in excessive ↵brain
use (see BARAFRANCA!) they can wrap around past 2 million commands. (YES REALLY. THEY ISSUED > 2 MILLION PRIVMSGS) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6590 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Bump API versionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6589 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-17Change /msg $* to have the correct source the same way /notice $* doesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588 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-17Yes, we know how to spell voluntary (and involuntary!) :<om
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6583 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-12Fixed <link:bind> which was only working on an ipv6 connection. Fixes bug ↵brain
#213 reported by owine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6581 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Change around the order of InspIRCd::Cleanup(), as per bug #212brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6580 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
2007-02-12Only apply force join to local clientsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6578 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Fix odd warnings from propolice.brain
Obviously this isnt valid for it: char b[MAXBUF]; getcwd(b, MAXBUF)..... it demands that b be 1024 in length. odd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6577 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-12Get rid of a compile warning.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6576 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-11Add m_conn_join, allows force join of a user to one or more channels on ↵brain
connect (ick). Tidy up m_operjoin a little. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6575 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-11Special *slap* seems to have set this to true :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6574 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-11Bump API version (chanrec::setby increased from NICKMAX to 128)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6573 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-11Allow for nick!user@host in TOPIC information.brain
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
2007-02-10Fix rehashing to display a success notice, tidy up some WriteOpers noticesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6570 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Tweak hostname matching in HostMatchesEveryone to compensate for being able ↵brain
to match all 3 of host and ip and CIDR git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6569 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Use userrec::MakeHost(), not strlcpy/strlcat!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6568 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Fix that equal sign '=' inside double quotes don't blow up confcheck.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6567 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Fix typo reported by owine (bug #208)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6566 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Merge patch for WEBIRC command from satmdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6565 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Improve +f kick message:brain
[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
2007-02-10Make some stuff configurable that hasnt been and should be.brain
<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
2007-02-10And make it compile. (whoops)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6562 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10timermanager never had a ServerInstance. Give it one so we can use ↵brain
InspIRCd::Time() rather than time() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6561 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Remove dup code by calling TickTimers in a loopbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6560 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10DELETE() on the timergroup in DelTimer (small memory leak)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6559 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10Finally make this module work at all on 1.1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6558 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10When opening a file to read, check its not a directory with stat()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6557 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-09Check for nonexistent filebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6556 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-09Change the constructor of ModeParser, make it just a tiny bit prettier.brain
Rather than calling AddMode like 25 times, put them in a nice looking array and call it in a loop, doesnt look as craqy (although its exactly the same thing with makeup on) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6555 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-09Increment version and give codename -- release is planned for sunday.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6554 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-09Add and properly test the ability for an InspTimer to DelTimer itself from ↵brain
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
2007-02-08And change this to gnutls in the debug message.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6552 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08Catch the ModuleException thrown when AddIOHook fails, so that we can make a ↵brain
port hook failure nonfatal. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6551 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08Check for ::ffff:x.x.x.x ips in user resolver, and if we see one initiate an ↵brain
ipv4 PTR lookup rather than ipv6 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6550 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08"is now your hidden host" -> "is now your displayed host". Wording fits ↵brain
better when uncloaking git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6549 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-08Try without deletes that it done anyway on close of InspSocket's socket.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6548 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Consider your crackpipes confiscated, there was some right dailywtf-worthy ↵brain
stuff in here. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6547 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07Remove some debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6546 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-07A quick unit test shows this is broken -- fix quickbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6545 e03df62e-2008-0410-955e-edbf42e46eb7