diff options
| author | 2014-07-14 16:10:12 +0200 | |
|---|---|---|
| committer | 2014-07-14 16:10:12 +0200 | |
| commit | 04ece67c3d8534f74a3d75ec77378cb57a9c044e (patch) | |
| tree | 41db09412bfd539c977500c93b5ddc2d210be344 /src/modules/m_channames.cpp | |
| parent | Change return type of Channel::GetUsers() to reference from pointer as it is ... (diff) | |
Rename UserMembList to Channel::MemberMap, switch all code to use it
Diffstat (limited to 'src/modules/m_channames.cpp')
| -rw-r--r-- | src/modules/m_channames.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_channames.cpp b/src/modules/m_channames.cpp index 1eb080ada..b4266e63b 100644 --- a/src/modules/m_channames.cpp +++ b/src/modules/m_channames.cpp @@ -82,7 +82,7 @@ class ModuleChannelNames : public Module ServerInstance->Modes->Process(modes, ServerInstance->FakeClient); } - UserMembList& users = c->userlist; + Channel::MemberMap& users = c->userlist; for (UserMembIter j = users.begin(); j != users.end(); ) { if (IS_LOCAL(j->first)) @@ -132,7 +132,7 @@ class ModuleChannelNames : public Module { if (badchan) { - const UserMembList& users = memb->chan->GetUsers(); + const Channel::MemberMap& users = memb->chan->GetUsers(); for (UserMembCIter i = users.begin(); i != users.end(); ++i) if (i->first != memb->user) except_list.insert(i->first); |
