summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-08 06:02:35 -0400
committerAdam <Adam@anope.org>2013-09-08 06:02:35 -0400
commit55e4ef9d3a5dc7e3b616e1369aac01ea1c76780d (patch)
tree3a4f9e5593063ac0c0f36da2021c9248692771df /src
parentf63e4ceebe1df458b20e8ff9643ed4206982f8ae (diff)
Fix logging /os set list. Enforce snlines on ircds that can't have snlines set by just killing the user. Fix double call to OnMatch() when a user matches an xline
Diffstat (limited to 'src')
-rw-r--r--src/xline.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index d6d5ad8e5..ea7fc1e73 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -213,13 +213,8 @@ void XLineManager::CheckAll(User *u)
{
XLineManager *xlm = *it;
- XLine *x = xlm->CheckAllXLines(u);
-
- if (x)
- {
- xlm->OnMatch(u, x);
+ if (xlm->CheckAllXLines(u))
break;
- }
}
}