X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fbancache.cpp;h=0ca2d693f1030f470cbb9ed2f9945ce10ba82d79;hb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;hp=4f2f3a304c0ff9fa387297a866a2971d01912776;hpb=43847ec9c7e1a195163eb4c529f1c92fd1ace0a4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/bancache.cpp b/src/bancache.cpp index 4f2f3a304..0ca2d693f 100644 --- a/src/bancache.cpp +++ b/src/bancache.cpp @@ -3,7 +3,7 @@ * +------------------------------------+ * * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -23,7 +23,7 @@ BanCacheHit *BanCacheManager::AddHit(const std::string &ip, const std::string &t if (this->BanHash->find(ip) != this->BanHash->end()) // can't have two cache entries on the same IP, sorry.. return NULL; - b = new BanCacheHit(ServerInstance, ip, type, reason); + b = new BanCacheHit(ip, type, reason); this->BanHash->insert(std::make_pair(ip, b)); return b; @@ -36,7 +36,7 @@ BanCacheHit *BanCacheManager::AddHit(const std::string &ip, const std::string &t if (this->BanHash->find(ip) != this->BanHash->end()) // can't have two cache entries on the same IP, sorry.. return NULL; - b = new BanCacheHit(ServerInstance, ip, type, reason, seconds); + b = new BanCacheHit(ip, type, reason, seconds); this->BanHash->insert(std::make_pair(ip, b)); return b;