Skip to content

Commit

Permalink
Don't apply bans to E:Lined connections. Should fix bug #896.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11452 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
rburchell committed Aug 1, 2009
1 parent 090e7b6 commit 0eabe02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xline.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 0eabe02

Please sign in to comment.