summaryrefslogtreecommitdiff
path: root/src/modules/m_clearchan.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-14 16:15:38 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-14 16:15:38 +0200
commitfb8cb2114483689c5a52f951e301c31bdd2a60a2 (patch)
tree5a9b7151400618402451eb054e1c7fd78e185d12 /src/modules/m_clearchan.cpp
parent04ece67c3d8534f74a3d75ec77378cb57a9c044e (diff)
Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead
Diffstat (limited to 'src/modules/m_clearchan.cpp')
-rw-r--r--src/modules/m_clearchan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp
index e23cd66c2..6238b7fdf 100644
--- a/src/modules/m_clearchan.cpp
+++ b/src/modules/m_clearchan.cpp
@@ -171,7 +171,7 @@ class ModuleClearChan : public Module
}
const Channel::MemberMap& users = cmd.activechan->GetUsers();
- for (UserMembCIter i = users.begin(); i != users.end(); ++i)
+ for (Channel::MemberMap::const_iterator i = users.begin(); i != users.end(); ++i)
{
LocalUser* curr = IS_LOCAL(i->first);
if (!curr)
@@ -201,7 +201,7 @@ class ModuleClearChan : public Module
// Hide the KICK from all non-opers
User* leaving = memb->user;
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)
{
User* curr = i->first;
if ((IS_LOCAL(curr)) && (!curr->IsOper()) && (curr != leaving))