summaryrefslogtreecommitdiff
path: root/src/xline.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix quietbans and hidesplits etc, cull list's sending a seperate quit message...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9574 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-0/+1
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-0/+12
* Move QuitUser into UserManager class, and unstaticize it. This prepares for s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-091-2/+2
* Add extra stuff for w00t, AutoApplyToUserList method for XLineFactory•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9409 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-071-1/+7
* Fix bug (partially/accidentally) discovered by Bricker: if an XLine is not pe...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9356 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-051-1/+4
* Commit -Wformat=2 -Wmissing-format-attributes, printf-like functions in inspi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9217 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-03-301-5/+5
* Convert remaining InspIRCd::Log() calls to new logging system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-221-1/+1
* I gots a better fix :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8951 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-171-0/+10
* Fix trampling on memory in Z/G/K/ELine.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-0/+1
* Add -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-111-4/+4
* Move some stuff to usermanager, remove a little header insanity, remove trace...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-021-4/+4
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Add OnExpireLine(XLine *) hook, will be used in xline db stuff to avoid getti...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8676 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-091-11/+13
* Fix bug in new XLine system (thanks Brain) - I don't know how I didn't spot t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8672 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-091-1/+1
* Maybe BanCache works now?•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8643 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-2/+2
* Add removal of BanCache entries on XLINE add/del, so we avoid out of date res...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8641 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-0/+4
* Integrate K/Gline into the bancache system by making some modifications to De...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8538 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-041-4/+12
* Force to uuid on applying a qline, rather than disconnecting•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8472 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-2/+2
* We cant return NULL if the first hit we get expires in MatchLine, there may b...•••(thanks for pointing that out, aquanight) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8471 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-4/+24
* Whoops, new expiry stuff was expiring perm lines! fixed.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8466 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-4/+4
* Expire lines on burst, and ensure that if an eline expires while we're checki...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8465 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-1/+24
* Expire timed glines that are due for expiry on stats request for it, thanks f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8464 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-9/+17
* Hopefully fix the bursting of xlines to work again (even with unknown types) ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8461 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-2/+20
* Move lookup_lines to private, theres no need for it to be public any more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8460 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-3/+1
* Tidy up, and make the identifer for a line type be std::string not char•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8459 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-69/+37
* XLines now only checked for expiry on positive hit. saves us a honking big O(...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8458 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-37/+40
* xline gutting, once more. There is no longer an active_lines vector, and no r...•••saving on cpu time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8457 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-021-113/+42
* Update docs on how XLine system will be working•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8452 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-11-011-23/+9
* There, i think all thats now left is matches_*line which we can do with two o...•••Matches(const char type, User* u) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8450 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-61/+0
* Fix (?) stats chars•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8448 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-28/+16
* This *should* fix expiry. Can someone else (w00t? :p) test for me, and check ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8447 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-23/+23
* More debug in here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8446 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-3/+10
* Start to fix broken expiry•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8445 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-2/+11
* Fix up to pass User*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8442 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-4/+12
* Add factories for other types•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8439 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-0/+12
* Add factories for eline and gline as tests•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8438 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-0/+14
* Implement: XLineManager::RegisterFactory, UnregisterFactory, GetFactory•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8437 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-0/+34
* More fixes and some optimizations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8430 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-11/+13
* More stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8429 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-10/+35
* Fixified some more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8428 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-5/+15
* The rest doesnt compile yet, dont bother :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8427 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-82/+44
* Clean up XLine conf stuff a little bit, move most of it to configreader. Also...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8425 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-311-74/+21
* A few more timesaving checks.•••The more astute amongst you will have noticed all the Add?Line functions now look practically identical. This paves the way for us to have one generic one, but before we do this i'd rather have us add an XLine* pointer to it, not a hostmask or something non-generic. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8423 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-291-0/+15
* Add the lookup_lines stuff. Sorry i havent documented this yet, i am tired.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-291-6/+28
* Ok, now each xline will be in two places. The sorted vector and a map, each l...•••This allows for faster checking for simple existence of a line for removal/adding without O(n) lookups git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8420 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-291-5/+5
* This commit is untested and breaks a lot of xline stuff. work in progress.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8418 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-291-189/+99
* Make ELines cached, and check for ELined status in all the Matches for all th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8417 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-25/+34
* Update User::exempt all the time we change an E:Line. Brain, can you check I'...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8416 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-4/+28
* YAR!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8415 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-281-82/+3
* Grr•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8413 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-281-5/+5