summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-04-16 22:50:06 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-04-16 22:50:06 +0200
commitc490a9061f18eceb69eb4bb5ed9eb32fd90400fe (patch)
tree90e4aabec8497430d4062cf3cafa86ec98c67826
parent9e0327b22ae435e6debdabb708cdea245950d3da (diff)
Revert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression
Fixes issue #989 reported by @B00mX0r
-rw-r--r--src/xline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index b710c5c43..66d24f439 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -598,6 +598,9 @@ void GLine::Apply(User* u)
bool ELine::Matches(User *u)
{
+ if (u->exempt)
+ return false;
+
if (InspIRCd::Match(u->ident, this->identmask, ascii_case_insensitive_map))
{
if (InspIRCd::MatchCIDR(u->host, this->hostmask, ascii_case_insensitive_map) ||