summaryrefslogtreecommitdiff
path: root/src/xline.cpp
Commit message (Expand)AuthorAgeFilesLines
* Second part of fix for bug #605, make adding and removal of lines not case se...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10590 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-221-10/+10
* Fix for bug #605 reported by MacGuyver, if a line is expired when we are addi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10589 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-09-221-1/+10
* Don't check E:Lines when enforcing Q:Lines on connected users. Thanks MacGyver.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10559 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-09-191-3/+0
* Rename lowermap to rfc_case_insensitive_map, add case_sensitive_map.. adjust ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10337 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-281-16/+16
* match() is no longer a function+no header, now a static method of InspIRCd cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-211-14/+16
* Remove last vestige of libircdfoo, by changing tag into a single identifier...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-1/+1
* Add XLineManager::DelAll to delete all lines of a given type.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9975 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+16
* Make User:: nick/ident/dhost/fullname and some other things std::string inste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9748 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-05-181-2/+2
* Remove .c_str()'s in match() calls that are no longer needed as match() nativ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-181-5/+5
* 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