diff options
| author | 2014-06-13 15:27:40 +0200 | |
|---|---|---|
| committer | 2014-06-13 15:27:40 +0200 | |
| commit | 467b276d9d0407ec412262525c43c28d47fdae2f (patch) | |
| tree | aaaa348fa1c2ea635b9e3b3ae29d9ef57d5e0dae /src/users.cpp | |
| parent | Pull in bancache.h from inspircd.h (diff) | |
| download | inspircd++-467b276d9d0407ec412262525c43c28d47fdae2f.tar.gz inspircd++-467b276d9d0407ec412262525c43c28d47fdae2f.tar.bz2 inspircd++-467b276d9d0407ec412262525c43c28d47fdae2f.zip | |
Change allocation of InspIRCd::BanCache to be physically part of the object containing it
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 7fba57faa..9a6c573f3 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -599,7 +599,7 @@ void LocalUser::FullConnect() ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d (class %s): %s (%s) [%s]", this->GetServerPort(), this->MyClass->name.c_str(), GetFullRealHost().c_str(), this->GetIPString().c_str(), this->fullname.c_str()); ServerInstance->Logs->Log("BANCACHE", LOG_DEBUG, "BanCache: Adding NEGATIVE hit for " + this->GetIPString()); - ServerInstance->BanCache->AddHit(this->GetIPString(), "", ""); + ServerInstance->BanCache.AddHit(this->GetIPString(), "", ""); // reset the flood penalty (which could have been raised due to things like auto +x) CommandFloodPenalty = 0; } |
