summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-01 22:16:58 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-08-01 22:16:58 +0000
commit0eabe028e25de0cf5037f523a8df72f1dd7e85bf (patch)
treebfc3d6501766c43511f719498ba95ced1a3b5d48 /src
parent090e7b616104723960ab51d8faa966af333eb15d (diff)
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
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;