X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_commands.h;h=a796d4ebd1ce38332c74a11fd3af82fb119528a1;hb=694e307c09334c21aaf1a6c3f0b7b6d95440dd3e;hp=defdeeafc85af4f14a3cc88bf712cfdabd79df17;hpb=7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_commands.h b/include/commands/cmd_commands.h index defdeeafc..a796d4ebd 100644 --- a/include/commands/cmd_commands.h +++ b/include/commands/cmd_commands.h @@ -2,14 +2,11 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2007 ChatSpike-Dev. - * E-mail: - * - * + * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * See: http://www.inspircd.org/wiki/index.php/Credits * - * 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. * * --------------------------------------------------- */ @@ -27,10 +24,18 @@ * the same way, however, they can be fully unloaded, where these * may not. */ -class cmd_commands : public command_t +class cmd_commands : public Command { public: - cmd_commands (InspIRCd* Instance) : command_t(Instance,"COMMANDS",0,0) { } + /** Constructor for commands. + */ + cmd_commands (InspIRCd* Instance) : Command(Instance,"COMMANDS",0,0) { } + /** Handle command. + * @param parameters The parameters to the comamnd + * @param pcnt The number of parameters passed to teh command + * @param user The user issuing the command + * @return A value from CmdResult to indicate command success or failure. + */ CmdResult Handle(const char** parameters, int pcnt, userrec *user); };