summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-14 16:10:12 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-14 16:10:12 +0200
commit04ece67c3d8534f74a3d75ec77378cb57a9c044e (patch)
tree41db09412bfd539c977500c93b5ddc2d210be344 /src/modules/m_spanningtree
parent173bc63cb59bbf19e73d1b823e3e9423c9f79860 (diff)
Rename UserMembList to Channel::MemberMap, switch all code to use it
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/netburst.cpp2
-rw-r--r--src/modules/m_spanningtree/utils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp
index f583a9d8f..3eaaaf720 100644
--- a/src/modules/m_spanningtree/netburst.cpp
+++ b/src/modules/m_spanningtree/netburst.cpp
@@ -168,7 +168,7 @@ void TreeSocket::SendFJoins(Channel* c)
{
CommandFJoin::Builder fjoin(c);
- const UserMembList& ulist = c->GetUsers();
+ const Channel::MemberMap& ulist = c->GetUsers();
for (UserMembCIter i = ulist.begin(); i != ulist.end(); ++i)
{
Membership* memb = i->second;
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 254b50dcc..1fa150741 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -166,7 +166,7 @@ void SpanningTreeUtilities::GetListOfServersForChannel(Channel* c, TreeSocketSet
minrank = mh->GetPrefixRank();
}
- const UserMembList& ulist = c->GetUsers();
+ const Channel::MemberMap& ulist = c->GetUsers();
for (UserMembCIter i = ulist.begin(); i != ulist.end(); ++i)
{
if (IS_LOCAL(i->first))