summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 13:47:52 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 13:47:52 +0000
commitf39ed764320d2f279235ce1f8084c7bca3ccf2cf (patch)
tree3c1e83418ff9c631f6a899cbd00e4e334b4098f5 /src/users.cpp
parent5a5d25304c6278d7f0a4721c280267a0b7370297 (diff)
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
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
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());