X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_lusers.h;h=38e309a8f1b2883ca036114dc9224575d66a651b;hb=7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07;hp=3600cb8e9af9811717083c7668726e1cad5dfe6c;hpb=66098d307c036997e51eaea21724615e27fdc3e9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_lusers.h b/include/commands/cmd_lusers.h index 3600cb8e9..38e309a8f 100644 --- a/include/commands/cmd_lusers.h +++ b/include/commands/cmd_lusers.h @@ -2,14 +2,14 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. - * E-mail: - * - * + * InspIRCd is copyright (C) 2002-2007 ChatSpike-Dev. + * E-mail: + * + * * * Written by Craig Edwards, Craig McLure, and others. * This program is free but copyrighted software; see - * the file COPYING for details. + * the file COPYING for details. * * --------------------------------------------------- */ @@ -19,20 +19,19 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" +/** Handle /LUSERS. These command handlers can be reloaded by the core, + * and handle basic RFC1459 commands. Commands within modules work + * the same way, however, they can be fully unloaded, where these + * may not. + */ class cmd_lusers : public command_t { public: - cmd_lusers (InspIRCd* Instance) : command_t(Instance,"LUSERS",0,0) { } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_lusers (InspIRCd* Instance) : command_t(Instance,"LUSERS",0,0) { } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif