diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:10:12 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:10:12 +0200 |
commit | 04ece67c3d8534f74a3d75ec77378cb57a9c044e (patch) | |
tree | 41db09412bfd539c977500c93b5ddc2d210be344 /src/modules/m_delayjoin.cpp | |
parent | 173bc63cb59bbf19e73d1b823e3e9423c9f79860 (diff) |
Rename UserMembList to Channel::MemberMap, switch all code to use it
Diffstat (limited to 'src/modules/m_delayjoin.cpp')
-rw-r--r-- | src/modules/m_delayjoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index f830daf4b..d9884297f 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -66,7 +66,7 @@ ModeAction DelayJoinMode::OnModeChange(User* source, User* dest, Channel* channe * Make all users visible, as +D is being removed. If we don't do this, * they remain permanently invisible on this channel! */ - const UserMembList& users = channel->GetUsers(); + const Channel::MemberMap& users = channel->GetUsers(); for (UserMembCIter n = users.begin(); n != users.end(); ++n) creator->OnText(n->first, channel, TYPE_CHANNEL, "", 0, empty); } @@ -94,7 +94,7 @@ ModResult ModuleDelayJoin::OnNamesListItem(User* issuer, Membership* memb, std:: static void populate(CUList& except, Membership* memb) { - const UserMembList& users = memb->chan->GetUsers(); + const Channel::MemberMap& users = memb->chan->GetUsers(); for (UserMembCIter i = users.begin(); i != users.end(); ++i) { if (i->first == memb->user || !IS_LOCAL(i->first)) |