From 04ece67c3d8534f74a3d75ec77378cb57a9c044e Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Mon, 14 Jul 2014 16:10:12 +0200 Subject: Rename UserMembList to Channel::MemberMap, switch all code to use it --- src/modules/m_ircv3.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_ircv3.cpp') diff --git a/src/modules/m_ircv3.cpp b/src/modules/m_ircv3.cpp index 17572423d..65fb7ddb5 100644 --- a/src/modules/m_ircv3.cpp +++ b/src/modules/m_ircv3.cpp @@ -50,8 +50,8 @@ class ModuleIRCv3 : public Module std::set already_sent; for (IncludeChanList::const_iterator i = chans.begin(); i != chans.end(); ++i) { - const UserMembList& userlist = (*i)->chan->GetUsers(); - for (UserMembList::const_iterator m = userlist.begin(); m != userlist.end(); ++m) + const Channel::MemberMap& userlist = (*i)->chan->GetUsers(); + for (Channel::MemberMap::const_iterator m = userlist.begin(); m != userlist.end(); ++m) { /* * Send the line if the channel member in question meets all of the following criteria: @@ -134,7 +134,7 @@ class ModuleIRCv3 : public Module std::string line; std::string mode; - const UserMembList& userlist = memb->chan->GetUsers(); + const Channel::MemberMap& userlist = memb->chan->GetUsers(); for (UserMembCIter 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 @@ -208,7 +208,7 @@ class ModuleIRCv3 : public Module std::string line = ":" + memb->user->GetFullHost() + " AWAY :" + memb->user->awaymsg; - const UserMembList& userlist = memb->chan->GetUsers(); + const Channel::MemberMap& userlist = memb->chan->GetUsers(); for (UserMembCIter 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 -- cgit v1.3.1-10-gc9f91