diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index daf7c5021..7deeb9b32 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -916,7 +916,7 @@ void ModeHandler::RemoveMode(Channel* channel, irc::modestacker& stack) void PrefixMode::RemoveMode(Channel* chan, irc::modestacker& stack) { const Channel::MemberMap& userlist = chan->GetUsers(); - for (UserMembCIter i = userlist.begin(); i != userlist.end(); ++i) + for (Channel::MemberMap::const_iterator i = userlist.begin(); i != userlist.end(); ++i) { if (i->second->hasMode(this->GetModeChar())) stack.Push(this->GetModeChar(), i->first->nick); |