From a589577b68cb84bc877ecdd4c0f9cb84a1581ddd Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 21 Nov 2012 00:15:13 +0100 Subject: Add a typedef for LocalUserList --- src/commands/cmd_modenotice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_modenotice.cpp') diff --git a/src/commands/cmd_modenotice.cpp b/src/commands/cmd_modenotice.cpp index c962a4d11..852b72f6a 100644 --- a/src/commands/cmd_modenotice.cpp +++ b/src/commands/cmd_modenotice.cpp @@ -31,7 +31,7 @@ class CommandModeNotice : public Command CmdResult Handle(const std::vector& parameters, User *src) { int mlen = parameters[0].length(); - for (std::vector::const_iterator i = ServerInstance->Users->local_users.begin(); i != ServerInstance->Users->local_users.end(); i++) + for (LocalUserList::const_iterator i = ServerInstance->Users->local_users.begin(); i != ServerInstance->Users->local_users.end(); i++) { User* user = *i; for (int n = 0; n < mlen; n++) -- cgit v1.2.3