]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_wallops.cpp
Use the remote channel's capitalization on a losing TS merge
[user/henk/code/inspircd.git] / src / commands / cmd_wallops.cpp
index 52d28e98790709e85e0e2161a55bf95308a59fe5..77f627ef884a1253157cd295f30f6b9d8bf54503 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
  * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
@@ -38,7 +38,7 @@ CmdResult CommandWallops::Handle (const std::vector<std::string>& parameters, Us
        std::string wallop("WALLOPS :");
        wallop.append(parameters[0]);
 
-       for (std::vector<User*>::const_iterator i = ServerInstance->Users->local_users.begin(); i != ServerInstance->Users->local_users.end(); i++)
+       for (std::vector<LocalUser*>::const_iterator i = ServerInstance->Users->local_users.begin(); i != ServerInstance->Users->local_users.end(); i++)
        {
                User* t = *i;
                if (t->IsModeSet('w'))