+ this->Expiry = ServerInstance->Time() + 86400; // a day. this might seem long, but entries will be removed as glines/etc expire.
+ }
+
+ // overridden to allow custom time
+ BanCacheHit(InspIRCd *Instance, const std::string &ip, const std::string &type, const std::string &reason, time_t seconds)
+ {
+ ServerInstance = Instance;
+ this->Type = type;
+ this->Reason = reason;
+ this->IP = ip;
+ this->Expiry = ServerInstance->Time() + seconds;