]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_trace.cpp
Fix trampling on memory in Z/G/K/ELine.
[user/henk/code/inspircd.git] / src / commands / cmd_trace.cpp
index d1e57ab00c3b04f00975ebe09b277244feb47cb8..1b7f83694bc90ebcccac9b9ad7a9b442a365a902 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
@@ -21,9 +21,9 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
 
 /** XXX: This is crap. someone fix this when you have time, to be more useful.
  */
-CmdResult CommandTrace::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandTrace::Handle (const char**, int, User *user)
 {
-       for (user_hash::iterator i = ServerInstance->clientlist->begin(); i != ServerInstance->clientlist->end(); i++)
+       /*for (user_hash::iterator i = ServerInstance->clientlist->begin(); i != ServerInstance->clientlist->end(); i++)
        {
                if (i->second->registered == REG_ALL)
                {
@@ -40,6 +40,6 @@ CmdResult CommandTrace::Handle (const char** parameters, int pcnt, User *user)
                {
                        user->WriteServ("203 %s :???? 0 [%s]",user->nick,i->second->host);
                }
-       }
+       }*/
        return CMD_SUCCESS;
 }