]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/cmode_h.cpp
apparently ar -s is equivalent to ranlib, except it doesnt have a fucking noisy non...
[user/henk/code/inspircd.git] / src / modes / cmode_h.cpp
index c69a9d6e277fadde2b86114b691feb49618293e9..2df6170cab807783e8bf0fd2324ebad6b37a629e 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -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));