summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xline.cpp4
1 files changed, 4 insertions, 0 deletions
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<XLine *>::iterator i = pending_lines.begin(); i != pending_lines.end(); i++)
{
XLine *x = *i;