diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-11-21 00:15:13 +0100 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-11-29 23:41:22 +0100 |
commit | a589577b68cb84bc877ecdd4c0f9cb84a1581ddd (patch) | |
tree | 37a4f52f9bcac855d7fa2198f991a2fc919ea738 /src/usermanager.cpp | |
parent | 83db3dc06a44b50d8e25828e201a51edb4030d92 (diff) |
Add a typedef for LocalUserList
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r-- | src/usermanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index b6a33d2c4..279b1d3ec 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -346,7 +346,7 @@ void UserManager::ServerNoticeAll(const char* text, ...) snprintf(formatbuffer,MAXBUF,"NOTICE $%s :%s", ServerInstance->Config->ServerName.c_str(), textbuffer); - for (std::vector<LocalUser*>::const_iterator i = local_users.begin(); i != local_users.end(); i++) + for (LocalUserList::const_iterator i = local_users.begin(); i != local_users.end(); i++) { User* t = *i; t->WriteServ(std::string(formatbuffer)); @@ -367,7 +367,7 @@ void UserManager::ServerPrivmsgAll(const char* text, ...) snprintf(formatbuffer,MAXBUF,"PRIVMSG $%s :%s", ServerInstance->Config->ServerName.c_str(), textbuffer); - for (std::vector<LocalUser*>::const_iterator i = local_users.begin(); i != local_users.end(); i++) + for (LocalUserList::const_iterator i = local_users.begin(); i != local_users.end(); i++) { User* t = *i; t->WriteServ(std::string(formatbuffer)); |