From 89537ed2ab22fcedb25e0378bd2c18e392911c0c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Sep 2022 12:01:29 +0100 Subject: Fix various cases of the &* being next to the name instead of type. --- src/bancache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bancache.cpp') diff --git a/src/bancache.cpp b/src/bancache.cpp index a79c94544..3255644cc 100644 --- a/src/bancache.cpp +++ b/src/bancache.cpp @@ -31,7 +31,7 @@ BanCacheHit::BanCacheHit(const std::string& type, const std::string& reason, tim { } -BanCacheHit *BanCacheManager::AddHit(const std::string &ip, const std::string &type, const std::string &reason, time_t seconds) +BanCacheHit* BanCacheManager::AddHit(const std::string& ip, const std::string& type, const std::string& reason, time_t seconds) { BanCacheHit*& b = BanHash[ip]; if (b != nullptr) // can't have two cache entries on the same IP, sorry.. @@ -41,7 +41,7 @@ BanCacheHit *BanCacheManager::AddHit(const std::string &ip, const std::string &t return b; } -BanCacheHit *BanCacheManager::GetHit(const std::string &ip) +BanCacheHit* BanCacheManager::GetHit(const std::string& ip) { BanCacheHash::iterator i = this->BanHash.find(ip); -- cgit v1.3.1-10-gc9f91