X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodes%2Fcmode_h.cpp;h=2df6170cab807783e8bf0fd2324ebad6b37a629e;hb=fb9b4ec54c4ae7792b8aa6dc41508151d4460c4c;hp=e54488bd1bad7d1c1ee310c422e48dc373867992;hpb=e4acbc95b8b6cd5b28d38a2242c02e8ff4991e4a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modes/cmode_h.cpp b/src/modes/cmode_h.cpp index e54488bd1..2df6170ca 100644 --- a/src/modes/cmode_h.cpp +++ b/src/modes/cmode_h.cpp @@ -47,11 +47,11 @@ ModePair ModeChannelHalfOp::ModeSet(User*, User*, Channel* channel, const std::s void ModeChannelHalfOp::RemoveMode(Channel* channel) { - CUList* list = channel->GetHalfoppedUsers(); + CUList* clist = channel->GetHalfoppedUsers(); CUList copy; char moderemove[MAXBUF]; - for (CUList::iterator i = list->begin(); i != list->end(); i++) + for (CUList::iterator i = clist->begin(); i != clist->end(); i++) { User* n = i->first; copy.insert(std::make_pair(n,n->nick));