]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/bancache.h
Replace HandleEvent() references in the SocketEngine documentation with OnEventHandler*()
[user/henk/code/inspircd.git] / include / bancache.h
index e39a26d647c30df0c6083b5ff767ad2673d935ce..6e19e1ebe753d4afb0a3e309bb20e323782edfb7 100644 (file)
@@ -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()); }
 };