From 5d6fb2427e2c396239b854951ad4b8d4e3952657 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 16 Nov 2012 00:03:15 -0500 Subject: 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 --- modules/commands/cs_enforce.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_enforce.cpp') 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 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; -- cgit