summaryrefslogtreecommitdiff
path: root/src/cull_list.cpp
AgeCommit message (Collapse)Author
2007-03-15Add third parameter to OnUserQuit (quit reason for opers only) - bump api ↵brain
version Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-06Fixes for snotice quit reasonsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6633 e03df62e-2008-0410-955e-edbf42e46eb7
2007-03-06This properly fixes options:hidebans and options:hidesplits by providing the ↵brain
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
2007-02-05Move quitting of clients to a central Cull List, and do quitting outside ↵peavey
userrec and in main loop. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6497 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Hash rehashing changebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Jesus, look who's the commit whore today. More header updates, and removal ↵w00t
of namespacing. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30Wahhhhhhhhhhhh bwahahaha. Mass commit to tidy up tons of messy include listsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5080 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Just to mess with om's head, remove helperfuncs.h from everywherebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10So much stuff changed in this one, i forgot most of it.brain
Oh yeah, main thing is ModeHandler and ModeWatcher classes now take an InspIRCd* to their constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4858 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Move IsNick, IsIdent into class InspIRCd, update modules that use it.brain
Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09userrec and chanrec now have their own independent pointer back to their ↵brain
'creator' InspIRCd* object, extern now longer required in channels.cpp or users.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4820 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09Move clientlist and chanlist into InspIRCd*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - ↵brain
this cant be a normal member as it causes the userrec to be deleted, and "delete this" is bad, mmm'k git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7
2006-06-29Forward port of CullList and my bragging rightsspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4087 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-08Remove references to inspircd_io from these, stop configure making all the ↵om
modules depend on it too. And remove some more un-needed includes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3853 e03df62e-2008-0410-955e-edbf42e46eb7
2006-04-06Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE ↵w00t
THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-22Removal of software threading idea in CullList. Nice idea, but did really ↵w00t
whacked out things with a lot of sockets. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3749 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Revert to string but return a reference, should be about the same speedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3628 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Saferbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3627 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10Faster CullItem/CullList using strdup rather than copying a std::stringbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3626 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Speedupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3602 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09Tidyup to pass some stuff by reference (much faster, no copy involved)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3601 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07Safety checking (a really really clever trick btw) in CullList, to make sure ↵brain
that the user we're removing IS the user that was marked for deletion X seconds ago, even if the user has since quit, to be replaced by another unfortunate wretch who was given the same pointer address (eeep) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3529 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28And the obligotary typo fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3381 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28Missing externsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3380 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28Made it safe to quits and nickchangesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3379 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-28When quitting large amounts of users, use InspIRCd::DoOneIteration to ↵brain
prevent too much lag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3378 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Full removal of inspircd_util.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Had comparison back to frontbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2464 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Fixed old codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2463 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Fixed to allow remote users to be put on a cull listbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2462 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-15Added CullList classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2458 e03df62e-2008-0410-955e-edbf42e46eb7