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_auditorium.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_auditorium.cpp')
| -rw-r--r-- | src/modules/m_auditorium.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index 40226d002..70f17e908 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -103,7 +103,7 @@ class ModuleAuditorium : public Module if (IsVisible(memb)) return; - const UserMembList& users = memb->chan->GetUsers(); + const Channel::MemberMap& users = memb->chan->GetUsers(); for (UserMembCIter i = users.begin(); i != users.end(); ++i) { if (IS_LOCAL(i->first) && !CanSee(i->first, memb)) @@ -140,7 +140,7 @@ class ModuleAuditorium : public Module // this channel should not be considered when listing my neighbors i = include.erase(i); // however, that might hide me from ops that can see me... - const UserMembList& users = memb->chan->GetUsers(); + const Channel::MemberMap& users = memb->chan->GetUsers(); for(UserMembCIter j = users.begin(); j != users.end(); ++j) { if (IS_LOCAL(j->first) && CanSee(j->first, memb)) |
