diff options
-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 f38b2ca46..34c7735fe 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -839,7 +839,7 @@ void User::AddClient(InspIRCd* Instance, int socket, int port, bool iscached, in if (BanCacheHit *b = Instance->BanCache->GetHit(New->GetIPString())) { - if (!b->Type.empty()) + if (!b->Type.empty() && !New->exempt) { /* user banned */ Instance->Log(DEBUG, std::string("BanCache: Positive hit for ") + New->GetIPString()); |