X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_ircv3.cpp;h=4eb54d2a6f7af6413999b3968868ff23740a6d0a;hb=3ccf0065d43db80f31c6404aeac4d65551481508;hp=65fb7ddb59e985c4d54243f3ceedc53eea91cd80;hpb=04ece67c3d8534f74a3d75ec77378cb57a9c044e;p=user%2Fhenk%2Fcode%2Finspircd.git 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);