From 55e4ef9d3a5dc7e3b616e1369aac01ea1c76780d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 8 Sep 2013 06:02:35 -0400 Subject: 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 --- src/xline.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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; - } } } -- cgit