summaryrefslogtreecommitdiff
path: root/src/usermanager.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/usermanager.cpp
parentcec9265bdbb63c06d73cb983b3fc293905ed79d2 (diff)
Move and rename typedef LocalUserList to UserManager::LocalList
Diffstat (limited to 'src/usermanager.cpp')
-rw-r--r--src/usermanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp
index 9c04c7889..2dcee852c 100644
--- a/src/usermanager.cpp
+++ b/src/usermanager.cpp
@@ -245,7 +245,7 @@ void UserManager::ServerNoticeAll(const char* text, ...)
VAFORMAT(message, text, text);
message = "NOTICE $" + ServerInstance->Config->ServerName + " :" + message;
- for (LocalUserList::const_iterator i = local_users.begin(); i != local_users.end(); i++)
+ for (LocalList::const_iterator i = local_users.begin(); i != local_users.end(); ++i)
{
User* t = *i;
t->WriteServ(message);
@@ -256,7 +256,7 @@ void UserManager::GarbageCollect()
{
// Reset the already_sent IDs so we don't wrap it around and drop a message
LocalUser::already_sent_id = 0;
- for (LocalUserList::const_iterator i = this->local_users.begin(); i != this->local_users.end(); i++)
+ for (LocalList::const_iterator i = local_users.begin(); i != local_users.end(); ++i)
{
(**i).already_sent = 0;
(**i).RemoveExpiredInvites();
@@ -284,7 +284,7 @@ void UserManager::DoBackgroundUserStuff()
/*
* loop over all local users..
*/
- for (LocalUserList::iterator i = local_users.begin(); i != local_users.end(); ++i)
+ for (LocalList::iterator i = local_users.begin(); i != local_users.end(); ++i)
{
LocalUser* curr = *i;