From 05bd4c0a51bf25072ef63a2951e827692ba51520 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 16 Jan 2008 21:45:50 +0000 Subject: [PATCH] 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 --- include/bancache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5