summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 21:45:50 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-01-16 21:45:50 +0000
commit05bd4c0a51bf25072ef63a2951e827692ba51520 (patch)
treec3112fc1786221ef243fa3796adcf0c7941f1fed /include
parent4b122677df0f5a501ff8ec89d90903d35310ca23 (diff)
Make default bancache time one day. This may seem long, but as XLines expire, so will the bancache entries, so it'll be fine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8724 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/bancache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bancache.h b/include/bancache.h
index 5ce8193b6..b00bcbae5 100644
--- a/include/bancache.h
+++ b/include/bancache.h
@@ -32,7 +32,7 @@ class CoreExport BanCacheHit : public classbase
this->Type = type;
this->Reason = reason;
this->IP = ip;
- this->Expiry = time(NULL) + 60; // XXX changeme
+ this->Expiry = time(NULL) + 86400; // a day. this might seem long, but entries will be removed as glines/etc expire.
}
// overridden to allow custom time