X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_clearchan.cpp;h=5fcec36f1777d9567a7dc8d9b9d2a41fe97d665d;hb=aa05a6fd4d5c11dc8e8adc469134a2802446fe9f;hp=6238b7fdf4e1e5cc8b582989300269f5eb931e54;hpb=fb8cb2114483689c5a52f951e301c31bdd2a60a2;p=user%2Fhenk%2Fcode%2Finspircd.git 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())