From 0eabe028e25de0cf5037f523a8df72f1dd7e85bf Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 1 Aug 2009 22:16:58 +0000 Subject: [PATCH] Don't apply bans to E:Lined connections. Should fix bug #896. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xline.cpp b/src/xline.cpp index a57f604c5..0424e7a09 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -342,6 +342,10 @@ void XLineManager::ApplyLines() { User* u = (User*)(*u2); + // Don't ban people who are exempt. + if (u->exempt) + continue; + for (std::vector::iterator i = pending_lines.begin(); i != pending_lines.end(); i++) { XLine *x = *i; -- 2.39.5