summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-20No need to .c_str() the quitmsg, it takes const std::string&brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6605 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-20Put back quit prefix that got lost in last fix.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6603 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Addition of feature request outlined in bug #195, suggested by Brickerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6602 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Too many small tweaks to list. Most notably tidy up info, note that /trace ↵brain
is crap, and improve efficiency of cmd_nick git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6601 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19When a users nick is overruled, remove their nickname-sent bit from ↵brain
userrec::registered so they must send a nick again. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6600 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19fix obligotary typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6599 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Better handling of nickname overrulingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6598 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19Whoops, typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6597 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-191) Fix for nickname overruled with new cullList stuff -- we have to change ↵brain
their nick, its not safe to quit them as it messes up the nick hash. 2) Add a mute flag for users, so we can drop commands from users who have been placed on the cullList. This is independent of the actual cullList and can be used as a general mute flag e.g. by shun modules. 3) Fix /kill to also not quit the user immediately, remove need for CMD_USER_DELETED return anywhere in the code. *** THIS NEEDS TESTING BY QA *** git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6596 e03df62e-2008-0410-955e-edbf42e46eb7
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