X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fxline.cpp;h=0424e7a09ff7482f73c2b2ab0a8f3fe8cb25a5c9;hb=c71801ebc4577b19e604c0d91a95fdcfe5250cc9;hp=a57f604c515df05cf3566d242053419c9f2ae1f2;hpb=b6dbd6caab62bc2c0d11ce5a45d511611eb9c2ef;p=user%2Fhenk%2Fcode%2Finspircd.git 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;