X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_die.h;h=0db044944fc3ec8b73eb18939e38beb2993428e8;hb=7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07;hp=e2b8099a2125a2c395f275d1cfb680a9f2e35853;hpb=5b8d2c4cabec5e6bb7aaf359e6cf6af9635c8dab;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h index e2b8099a2..0db044944 100644 --- a/include/commands/cmd_die.h +++ b/include/commands/cmd_die.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. * * --------------------------------------------------- */ @@ -22,11 +22,16 @@ #include "users.h" #include "channels.h" +/** Handle /DIE. 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_die : public command_t { public: - cmd_die (InspIRCd* Instance) : command_t(Instance,"DIE",'o',1) { syntax = ""; } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_die (InspIRCd* Instance) : command_t(Instance,"DIE",'o',1) { syntax = ""; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif