summaryrefslogtreecommitdiff
path: root/modules/commands/cs_enforce.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-16 00:03:15 -0500
committerAdam <Adam@anope.org>2012-11-16 00:03:15 -0500
commit5d6fb2427e2c396239b854951ad4b8d4e3952657 (patch)
tree7ba24105fae1615fb972ccf7d02e34b27327a51c /modules/commands/cs_enforce.cpp
parentad3d1d381a29598338c4687ca1a7a334a9fc71d5 (diff)
Fixed some stuff spotted by Cronus, made db_old convert ACCESS_INVALID levels to ACCESS_FOUNDER, fix cs_enforce +R from an earlier commit, fixed ChangeModeInternal TS checking when IRCds don't send TS on mode
Diffstat (limited to 'modules/commands/cs_enforce.cpp')
-rw-r--r--modules/commands/cs_enforce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_enforce.cpp b/modules/commands/cs_enforce.cpp
index 2c524d9db..755cd55b4 100644
--- a/modules/commands/cs_enforce.cpp
+++ b/modules/commands/cs_enforce.cpp
@@ -114,7 +114,7 @@ class CommandCSEnforce : public Command
Log(LOG_COMMAND, source, this) << "to enforce registered only";
std::vector<User *> users;
- for (CUserList::iterator it = c->users.begin(), it_end = c->users.end(); it != it_end; )
+ for (CUserList::iterator it = c->users.begin(), it_end = c->users.end(); it != it_end; ++it)
{
UserContainer *uc = *it;
User *user = uc->user;