summaryrefslogtreecommitdiff
path: root/src/bancache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove last vestige of libircdfoo, by changing tag into a single ↵Gravatar w00t2008-07-291-1/+1
| | | | | | identifier marking object as requiring compilation into a .o (minor commit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7
* Use new logging in bancacheGravatar w00t2008-02-091-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8859 e03df62e-2008-0410-955e-edbf42e46eb7
* Add an overridden AddHit to BanCacheManager, allowing the expiry time to be set.Gravatar w00t2008-01-161-0/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8723 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Maybe BanCache works now?Gravatar w00t2008-01-061-2/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8643 e03df62e-2008-0410-955e-edbf42e46eb7
* Add removal of BanCache entries on XLINE add/del, so we avoid out of date ↵Gravatar w00t2008-01-061-1/+2
| | | | | | responses. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8641 e03df62e-2008-0410-955e-edbf42e46eb7
* Add bancache expiry stuff, currently records expire 60 seconds after ↵Gravatar w00t2008-01-061-5/+24
| | | | | | creation. Live, we will want perhaps an hour before expiry. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8640 e03df62e-2008-0410-955e-edbf42e46eb7
* It compiles; ship it.Gravatar w00t2007-11-171-1/+30
| | | | | | (add some sort of working skeleton for BanCacheManager::RemoveEntries().) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8600 e03df62e-2008-0410-955e-edbf42e46eb7
* Add another BanCache stub. I'm not writing it yet as the storage of entries ↵Gravatar w00t2007-11-151-0/+5
| | | | | | has not yet been finalised. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8595 e03df62e-2008-0410-955e-edbf42e46eb7
* Rehash method added which frees unused memory from the hash_map. Has a ↵Gravatar brain2007-11-051-0/+22
| | | | | | delete-safe iterator. see comments. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8542 e03df62e-2008-0410-955e-edbf42e46eb7
* There are two forms of map::erase(), one erases by key the other by iterator.Gravatar brain2007-11-041-1/+1
| | | | | | | | if we erase by key, this involves a second search to find that key. Fix to pass the iterator instead and avoid the second map search :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8488 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some unnecessary headers from places, commit working BanCacheManager ↵Gravatar w00t2007-11-041-0/+47
| | | | | | skeleton. Work in progress, ignore it for now. Doesn't do anything, either. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8487 e03df62e-2008-0410-955e-edbf42e46eb7
* This won't work yet.Gravatar w00t2007-11-031-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8484 e03df62e-2008-0410-955e-edbf42e46eb7
* Add bancache.coo/h. Nothing in them, yet.Gravatar w00t2007-11-031-0/+16
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8483 e03df62e-2008-0410-955e-edbf42e46eb7