X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_info.h;h=b7bce15cf44bb9806dbf5819535f92b6882f2952;hb=7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07;hp=bcf12c1462c41990685b71a89c75cc937e4bec06;hpb=66098d307c036997e51eaea21724615e27fdc3e9;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_info.h b/include/commands/cmd_info.h index bcf12c146..b7bce15cf 100644 --- a/include/commands/cmd_info.h +++ b/include/commands/cmd_info.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 /INFO. 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_info : public command_t { public: - cmd_info (InspIRCd* Instance) : command_t(Instance,"INFO",0,0) { syntax = "[]"; } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_info (InspIRCd* Instance) : command_t(Instance,"INFO",0,0) { syntax = "[]"; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif