X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fxline.cpp;h=0424e7a09ff7482f73c2b2ab0a8f3fe8cb25a5c9;hb=c71801ebc4577b19e604c0d91a95fdcfe5250cc9;hp=f6fc8af0ae6e701f12086c4cd73111edc9cb0625;hpb=4efdfce66a255dd5ce2e2a940842ebfe9b02c651;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/xline.cpp b/src/xline.cpp index f6fc8af0a..0424e7a09 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -3,7 +3,7 @@ * +------------------------------------+ * * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -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;