diff options
Diffstat (limited to 'src/modules/m_clearchan.cpp')
-rw-r--r-- | src/modules/m_clearchan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp index 6238b7fdf..5fcec36f1 100644 --- a/src/modules/m_clearchan.cpp +++ b/src/modules/m_clearchan.cpp @@ -94,10 +94,10 @@ class CommandClearChan : public Command std::string mask; // Now remove all local non-opers from the channel Channel::MemberMap& users = chan->userlist; - for (UserMembIter i = users.begin(); i != users.end(); ) + for (Channel::MemberMap::iterator i = users.begin(); i != users.end(); ) { User* curr = i->first; - const UserMembIter currit = i; + const Channel::MemberMap::iterator currit = i; ++i; if (!IS_LOCAL(curr) || curr->IsOper()) |