summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-14 16:10:12 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-14 16:10:12 +0200
commit04ece67c3d8534f74a3d75ec77378cb57a9c044e (patch)
tree41db09412bfd539c977500c93b5ddc2d210be344 /src/users.cpp
parent173bc63cb59bbf19e73d1b823e3e9423c9f79860 (diff)
Rename UserMembList to Channel::MemberMap, switch all code to use it
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 039fdce57..8dbacde64 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -891,8 +891,8 @@ void User::WriteCommonRaw(const std::string &line, bool include_self)
for (IncludeChanList::const_iterator v = include_c.begin(); v != include_c.end(); ++v)
{
Channel* c = (*v)->chan;
- const UserMembList& ulist = c->GetUsers();
- for (UserMembList::const_iterator i = ulist.begin(); i != ulist.end(); ++i)
+ const Channel::MemberMap& ulist = c->GetUsers();
+ for (Channel::MemberMap::const_iterator i = ulist.begin(); i != ulist.end(); ++i)
{
LocalUser* u = IS_LOCAL(i->first);
if (u && u->already_sent != LocalUser::already_sent_id)
@@ -931,8 +931,8 @@ void User::WriteCommonQuit(const std::string &normal_text, const std::string &op
}
for (IncludeChanList::const_iterator v = include_c.begin(); v != include_c.end(); ++v)
{
- const UserMembList& ulist = (*v)->chan->GetUsers();
- for (UserMembList::const_iterator i = ulist.begin(); i != ulist.end(); i++)
+ const Channel::MemberMap& ulist = (*v)->chan->GetUsers();
+ for (Channel::MemberMap::const_iterator i = ulist.begin(); i != ulist.end(); i++)
{
LocalUser* u = IS_LOCAL(i->first);
if (u && (u->already_sent != uniq_id))