diff options
Diffstat (limited to 'src/modes/cmode_v.cpp')
-rw-r--r-- | src/modes/cmode_v.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp index 66e58a479..2abf4e161 100644 --- a/src/modes/cmode_v.cpp +++ b/src/modes/cmode_v.cpp @@ -1,3 +1,4 @@ + /* +------------------------------------+ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ @@ -47,11 +48,11 @@ ModePair ModeChannelVoice::ModeSet(User*, User*, Channel* channel, const std::st void ModeChannelVoice::RemoveMode(Channel* channel) { - CUList* list = channel->GetVoicedUsers(); + CUList* clist = channel->GetVoicedUsers(); 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)); |