From: w00t Date: Sat, 1 Aug 2009 22:16:58 +0000 (+0000) Subject: Don't apply bans to E:Lined connections. Should fix bug #896. X-Git-Tag: v2.0.23~1779 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0eabe028e25de0cf5037f523a8df72f1dd7e85bf;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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;