summaryrefslogtreecommitdiff
path: root/src/commands
AgeCommit message (Collapse)Author
2008-04-21Merge in large patchset from GreenReaper, useful fixes for freeing a ton of ↵brain
different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-18Add GreenReaper and Skip to contributorsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9534 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Remove use of SendSNONotice to send to remote servers, this is done ↵w00t
automagically now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9526 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Move QuitUser into UserManager class, and unstaticize it. This prepares for ↵w00t
some benchmarking lulz on object pooling I plan to do today, as well as making more sense now we *have* a manager class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-09Send usermodes on whois if user is self or operedw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9440 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Allow remote users to bypass Q:Line (why on earth wasn't this the case)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9436 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Don't check Q:Lines if server is enforcing a nick change (I forgot we had a ↵w00t
way to check this). 'Bug' (it's not really a bug, just admin stupidity) found by Kein. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9434 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Add todo, add server namew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9424 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-08Remote REHASH stuff, this drove me nuts but should probably work now.. thx brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9423 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-07We were lucky this one didnt bring down the whole devnet (see cmd_part.cpp diff)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9400 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Allow for custom prefixes as status chars in /notice @#chan etc. Up until ↵brain
now theyve just used a hard coded check on @%+. This slows down writing to a channels users by a small amount, but only when writing to a prefix is happening. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9329 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-04Fix bad use of old event based api for spanningtree (this is mostly gone now)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9321 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Fix another warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9270 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-02Fix stats, this has never actually displayed the per-class max in stats I, ↵brain
now it does git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9267 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30AWAY notification for WATCH. Numerics are now sent out when a user goes away ↵w00t
(or returns from AWAY), as well as in WATCH L (if the user is online and away). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Merge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when ↵w00t
cancelling), and change return type to int so modules can block away messages by returning nonzero. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9223 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-30Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in ↵aquanight
inspircd now get treated like printf (meaning compile-time check goodness) in GCC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that ↵brain
OnNumeric can capture them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Rejig numerics to not step on the 90x range for SASLbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9155 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-21Patch to change MODULES numerics, so we dont get a collision when using ↵brain
AUTHENTICATE. Thanks nenolod. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9148 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19And one more tweak to this.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9137 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Fix OnUserRegister() not getting called for if USER sent before NICK on ↵peavey
registration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9136 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Yay, local /rehash is now fixed :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9028 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24More stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9026 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Allow for 'bail' and 'user' parameters to rehash threadbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9022 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24Theres more to do here. Read the TODOsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9021 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-22Convert remaining InspIRCd::Log() calls to new logging systemaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-20Wheee, mass commit! this adds const stafety, throwing a compile error if ↵brain
anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-14Somebody *eyes a certain norwegian wannabe* defined two commands called ↵brain
WATCH... O_o git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8934 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13Commit patch from danieldg that makes a ton of stuff const-safe for latest ↵brain
warn-happy trigger-happy gcc4 (thanks) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Fix trampling on memory in Z/G/K/ELine.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8901 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ↵w00t
note to webirc that needs looking at. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Correctly rewrite bans in 1.2 also, and make zline on nicks actually work.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8873 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10Make K|G|Z|ELine actually work with a nickname target (code was there but ↵w00t
not functional) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-09Implement LogManager::CloseLogs() to give logstreams a chance to clean up on ↵w00t
rehash or exit. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-08Support for /invite <user> <channel> <timeout> - if the user doesn't partake ↵aquanight
in <timeout> time, the invite expires git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8854 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-08Slight speed improvement in WHOing invisible users, insignificantbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8851 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-08git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8850 ↵w00t
e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Add it back, but comment out the method body. its useless.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8791 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-02Move some stuff to usermanager, remove a little header insanity, remove ↵w00t
trace because it's still less useful than a chocolate fireman. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-30Move fez to developers (a lot of movement for one day :p)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8772 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-30Move fez to regular contributors sectionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8771 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27Change API OnOperCompare to OnPassCompare, password hashing is now available ↵aquanight
for <connect:allow>, <power die= restart=>, <title> (m_customtitle.so), <vhost> (m_vhost.so), this works the same was as for <oper>: load m_password_hash.so (after all hasher modules, of course), and add hash="md5/sha256/whatever" to the relevant tag. Also fix m_callerid.cpp crashing on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19Add aquanight to developers sectionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8736 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Fix.. snomask O is already taken (ffs) so use A insteadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8729 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Start converting WriteOpers calls into snomask 'O' -- generic oper notices.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8727 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17Move a number of methods from class InspIRCd to class UserManagerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8726 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Remove an O(log n) in favour of an O(1) operation, and tidy up culllist some ↵w00t
more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8717 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-16Two stage commit: don't set user->muted except in QuitUser (duplicate ↵w00t
setting), also, change muted to drop all socket operations instead of just not reading the user's buffer if muted is set (no point wasting time - they're going away). Also revert culllist back to once per mainloop iteration now it is much cheaper than previously. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-10Header update: 2007 -> 2008w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7