summaryrefslogtreecommitdiff
path: root/src/coremods/core_privmsg.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-19 14:23:31 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-19 14:23:31 +0200
commitbc8664c5c49f4ac9adbc5e3937a584e4a6b35614 (patch)
treec7a4c6517485335fbc4c0d06042d3feebd503fb7 /src/coremods/core_privmsg.cpp
parentcec9265bdbb63c06d73cb983b3fc293905ed79d2 (diff)
Move and rename typedef LocalUserList to UserManager::LocalList
Diffstat (limited to 'src/coremods/core_privmsg.cpp')
-rw-r--r--src/coremods/core_privmsg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_privmsg.cpp b/src/coremods/core_privmsg.cpp
index 34953bbe8..5ec3097a5 100644
--- a/src/coremods/core_privmsg.cpp
+++ b/src/coremods/core_privmsg.cpp
@@ -67,8 +67,8 @@ class MessageCommandBase : public Command
void MessageCommandBase::SendAll(User* user, const std::string& msg, MessageType mt)
{
const std::string message = ":" + user->GetFullHost() + " " + MessageTypeString[mt] + " $* :" + msg;
- const LocalUserList& list = ServerInstance->Users->local_users;
- for (LocalUserList::const_iterator i = list.begin(); i != list.end(); ++i)
+ const UserManager::LocalList& list = ServerInstance->Users->local_users;
+ for (UserManager::LocalList::const_iterator i = list.begin(); i != list.end(); ++i)
{
if ((*i)->registered == REG_ALL)
(*i)->Write(message);