diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:10:12 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-14 16:10:12 +0200 |
commit | 04ece67c3d8534f74a3d75ec77378cb57a9c044e (patch) | |
tree | 41db09412bfd539c977500c93b5ddc2d210be344 /src/modules/m_ircv3.cpp | |
parent | 173bc63cb59bbf19e73d1b823e3e9423c9f79860 (diff) |
Rename UserMembList to Channel::MemberMap, switch all code to use it
Diffstat (limited to 'src/modules/m_ircv3.cpp')
-rw-r--r-- | src/modules/m_ircv3.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<User*> 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 |