From f39ed764320d2f279235ce1f8084c7bca3ccf2cf Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 4 Nov 2007 13:47:52 +0000 Subject: BanCache positive hits should be overridden by E:, thanks Brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8493 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3