summaryrefslogtreecommitdiff
path: root/src/commands/cmd_modenotice.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-11-21 00:15:13 +0100
committerattilamolnar <attilamolnar@hush.com>2012-11-29 23:41:22 +0100
commita589577b68cb84bc877ecdd4c0f9cb84a1581ddd (patch)
tree37a4f52f9bcac855d7fa2198f991a2fc919ea738 /src/commands/cmd_modenotice.cpp
parent83db3dc06a44b50d8e25828e201a51edb4030d92 (diff)
Add a typedef for LocalUserList
Diffstat (limited to 'src/commands/cmd_modenotice.cpp')
-rw-r--r--src/commands/cmd_modenotice.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string>& parameters, User *src)
{
int mlen = parameters[0].length();
- for (std::vector<LocalUser*>::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++)