diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 13:47:52 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 13:47:52 +0000 |
commit | f39ed764320d2f279235ce1f8084c7bca3ccf2cf (patch) | |
tree | 3c1e83418ff9c631f6a899cbd00e4e334b4098f5 /src | |
parent | 5a5d25304c6278d7f0a4721c280267a0b7370297 (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')
-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()); |