summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
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/modules/m_spanningtree
parentcec9265bdbb63c06d73cb983b3fc293905ed79d2 (diff)
Move and rename typedef LocalUserList to UserManager::LocalList
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 979048d65..b24d8c6ee 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -62,16 +62,16 @@ namespace
// Does not change the server of quitting users because those are not in the list
ServerInstance->FakeClient->server = newserver;
- 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)
(*i)->server = newserver;
}
void ResetMembershipIds()
{
// Set all membership ids to 0
- const LocalUserList& list = ServerInstance->Users->local_users;
- for (LocalUserList::iterator i = list.begin(); i != list.end(); ++i)
+ const UserManager::LocalList& list = ServerInstance->Users->local_users;
+ for (UserManager::LocalList::iterator i = list.begin(); i != list.end(); ++i)
{
LocalUser* user = *i;
for (User::ChanList::iterator j = user->chans.begin(); j != user->chans.end(); ++j)