summaryrefslogtreecommitdiff
path: root/modules/commands/os_sxline.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-04 18:50:46 -0500
committerAdam <Adam@anope.org>2013-04-04 18:52:35 -0500
commitdbc77279bfad95caa999b1c7466a1c76bd579f84 (patch)
tree8e6a4d77111fcfea97f78973e49c2ae185274a24 /modules/commands/os_sxline.cpp
parentc4ef566a6577dfdb1b8b0eb8cc85b428f77fe2e2 (diff)
Fix applying some sxlines to users on add
Diffstat (limited to 'modules/commands/os_sxline.cpp')
-rw-r--r--modules/commands/os_sxline.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/commands/os_sxline.cpp b/modules/commands/os_sxline.cpp
index af397226a..2a98edf1d 100644
--- a/modules/commands/os_sxline.cpp
+++ b/modules/commands/os_sxline.cpp
@@ -389,7 +389,6 @@ class CommandOSSNLine : public CommandOSSXLineBase
for (user_map::const_iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it)
{
User *user = it->second;
- ++it;
if (!user->HasMode("OPER") && user->server != Me && Anope::Match(user->realname, x->mask, false, true))
user->Kill(Config->ServerName, rreason);
@@ -616,7 +615,6 @@ class CommandOSSQLine : public CommandOSSXLineBase
for (user_map::const_iterator it = UserListByNick.begin(); it != UserListByNick.end(); ++it)
{
User *user = it->second;
- ++it;
if (!user->HasMode("OPER") && user->server != Me && Anope::Match(user->nick, x->mask, false, true))
user->Kill(Config->ServerName, rreason);