diff options
| author | 2010-12-01 14:00:15 -0500 | |
|---|---|---|
| committer | 2010-12-01 14:00:15 -0500 | |
| commit | 1ce44d2facff3389dbcd47d018198e6fcfd34fbc (patch) | |
| tree | 217af2186d582c8238a27e953ca58134835dd740 /src/modules/m_auditorium.cpp | |
| parent | Enable some extra warnings (diff) | |
Fix possible crash
Diffstat (limited to 'src/modules/m_auditorium.cpp')
| -rw-r--r-- | src/modules/m_auditorium.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index 10dc80d49..d3bcc92b8 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -159,7 +159,7 @@ class ModuleAuditorium : public Module continue; } // this channel should not be considered when listing my neighbors - include.erase(i); + i = include.erase(i); // however, that might hide me from ops that can see me... const UserMembList* users = c->GetUsers(); for(UserMembCIter j = users->begin(); j != users->end(); j++) |
