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;
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;