diff options
Diffstat (limited to 'modules/commands/cs_enforce.cpp')
-rw-r--r-- | modules/commands/cs_enforce.cpp | 2 |
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; |