]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Revert c8b344ea748d62d9f37cacd4dd785f15b186725c to fix regression
authorAttila Molnar <attilamolnar@hush.com>
Thu, 16 Apr 2015 20:50:06 +0000 (22:50 +0200)
committerAttila Molnar <attilamolnar@hush.com>
Thu, 16 Apr 2015 20:50:06 +0000 (22:50 +0200)
Fixes issue #989 reported by @B00mX0r

src/xline.cpp

index b710c5c436074809ffbb4c87832693315bbda183..66d24f439a6b12b600033a17bf40ef3b72ba6efd 100644 (file)
@@ -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) ||