diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:15:38 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:15:38 +0200 |
commit | fb8cb2114483689c5a52f951e301c31bdd2a60a2 (patch) | |
tree | 5a9b7151400618402451eb054e1c7fd78e185d12 /src/modules/m_delayjoin.cpp | |
parent | 04ece67c3d8534f74a3d75ec77378cb57a9c044e (diff) |
Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead
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 d9884297f..55ffd08d7 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -67,7 +67,7 @@ ModeAction DelayJoinMode::OnModeChange(User* source, User* dest, Channel* channe * they remain permanently invisible on this channel! */ const Channel::MemberMap& users = channel->GetUsers(); - for (UserMembCIter n = users.begin(); n != users.end(); ++n) + for (Channel::MemberMap::const_iterator n = users.begin(); n != users.end(); ++n) creator->OnText(n->first, channel, TYPE_CHANNEL, "", 0, empty); } channel->SetMode(this, adding); @@ -95,7 +95,7 @@ ModResult ModuleDelayJoin::OnNamesListItem(User* issuer, Membership* memb, std:: static void populate(CUList& except, Membership* memb) { const Channel::MemberMap& users = memb->chan->GetUsers(); - for (UserMembCIter i = users.begin(); i != users.end(); ++i) + for (Channel::MemberMap::const_iterator i = users.begin(); i != users.end(); ++i) { if (i->first == memb->user || !IS_LOCAL(i->first)) continue; |