]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_lusers.cpp
Spellig mistak.
[user/henk/code/inspircd.git] / src / cmd_lusers.cpp
index 23b8754e0dd62699c5be55c1cd57b47ee91638e0..1a16ddc863b4979b0a6cd1ef147156c51beb3066 100644 (file)
@@ -2,12 +2,9 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
  *
- * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
 #include "inspircd.h"
 #include "commands/cmd_lusers.h"
 
-
-
 extern "C" command_t* init_command(InspIRCd* Instance)
 {
        return new cmd_lusers(Instance);
 }
 
-void cmd_lusers::Handle (const char** parameters, int pcnt, userrec *user)
+/** Handle /LUSERS
+ */
+CmdResult cmd_lusers::Handle (const char** parameters, int pcnt, userrec *user)
 {
        // this lusers command shows one server at all times because
        // a protocol module must override it to show those stats.
@@ -38,5 +35,7 @@ void cmd_lusers::Handle (const char** parameters, int pcnt, userrec *user)
                user->WriteServ("254 %s %d :channels formed",user->nick,ServerInstance->ChannelCount());
        if (ServerInstance->LocalUserCount())
                user->WriteServ("254 %s :I have %d clients and 0 servers",user->nick,ServerInstance->LocalUserCount());
+
+       return CMD_SUCCESS;
 }