X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_kill.h;h=dbec15e6e0f8fa7ca01200d5bd01bc0fa9c83d98;hb=7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07;hp=8f7a401412c184d08786ecab217972d7f567465e;hpb=dc8f5d02f77aeabefaefe88005b99c8b47030ab7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_kill.h b/include/commands/cmd_kill.h index 8f7a40141..dbec15e6e 100644 --- a/include/commands/cmd_kill.h +++ b/include/commands/cmd_kill.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 /KILL. 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_kill : public command_t { public: - cmd_kill () : command_t("KILL",'o',2) { syntax = " "; } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_kill (InspIRCd* Instance) : command_t(Instance,"KILL",'o',2) { syntax = " "; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif