X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_motd.h;h=05b5b3b85dea2b6382edeea67cf5a2b17e9c0113;hb=7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07;hp=3b9e149cff19a13a5fc215c4c13da78ac68e80b8;hpb=af2b10e82cd3b9cda80ae29607da78e15974f155;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_motd.h b/include/commands/cmd_motd.h index 3b9e149cf..05b5b3b85 100644 --- a/include/commands/cmd_motd.h +++ b/include/commands/cmd_motd.h @@ -3,13 +3,13 @@ * +------------------------------------+ * * InspIRCd is copyright (C) 2002-2007 ChatSpike-Dev. - * E-mail: - * - * + * 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. * * --------------------------------------------------- */ @@ -25,13 +25,16 @@ #include "users.h" #include "channels.h" -/** Handle /MOTD +/** Handle /MOTD. 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_motd : public command_t { public: - cmd_motd (InspIRCd* Instance) : command_t(Instance,"MOTD",0,0) { syntax = "[]"; } - CmdResult Handle(const char** parameters, int pcnt, userrec *user); + cmd_motd (InspIRCd* Instance) : command_t(Instance,"MOTD",0,0) { syntax = "[]"; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif