From fb8cb2114483689c5a52f951e301c31bdd2a60a2 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 14 Jul 2014 16:15:38 +0200 Subject: Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead --- src/modules/m_ircv3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_ircv3.cpp') diff --git a/src/modules/m_ircv3.cpp b/src/modules/m_ircv3.cpp index 65fb7ddb5..4eb54d2a6 100644 --- a/src/modules/m_ircv3.cpp +++ b/src/modules/m_ircv3.cpp @@ -135,7 +135,7 @@ class ModuleIRCv3 : public Module std::string mode; const Channel::MemberMap& userlist = memb->chan->GetUsers(); - for (UserMembCIter it = userlist.begin(); it != userlist.end(); ++it) + for (Channel::MemberMap::const_iterator it = userlist.begin(); it != userlist.end(); ++it) { // Send the extended join line if the current member is local, has the extended-join cap and isn't excepted User* member = IS_LOCAL(it->first); @@ -209,7 +209,7 @@ class ModuleIRCv3 : public Module std::string line = ":" + memb->user->GetFullHost() + " AWAY :" + memb->user->awaymsg; const Channel::MemberMap& userlist = memb->chan->GetUsers(); - for (UserMembCIter it = userlist.begin(); it != userlist.end(); ++it) + for (Channel::MemberMap::const_iterator it = userlist.begin(); it != userlist.end(); ++it) { // Send the away notify line if the current member is local, has the away-notify cap and isn't excepted User* member = IS_LOCAL(it->first); -- cgit v1.3.1-10-gc9f91