X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fbancache.h;h=6e19e1ebe753d4afb0a3e309bb20e323782edfb7;hb=c6ebf05e028afbcbec2b1f1e9fdad5551967ecee;hp=e39a26d647c30df0c6083b5ff767ad2673d935ce;hpb=2269b9740b29bd9e1e3d688740da493589866d17;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/bancache.h b/include/bancache.h index e39a26d64..6e19e1ebe 100644 --- a/include/bancache.h +++ b/include/bancache.h @@ -40,10 +40,7 @@ class CoreExport BanCacheHit */ time_t Expiry; - BanCacheHit(const std::string &type, const std::string &reason, time_t seconds) - : Type(type), Reason(reason), Expiry(ServerInstance->Time() + seconds) - { - } + BanCacheHit(const std::string& type, const std::string& reason, time_t seconds); bool IsPositive() const { return (!Reason.empty()); } };