X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_away.cpp;h=ce4628858043f5eebb4c11b128ce779d587feaea;hb=4cc6e5e14fdbde499481dbab5ab2ad1257b8af9c;hp=aecc711e4e329e5973ce504172b51e9fbd829018;hpb=4cf0ae1308fe98757de42ffbe391e61844ac9e0a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_away.cpp b/src/cmd_away.cpp index aecc711e4..ce4628858 100644 --- a/src/cmd_away.cpp +++ b/src/cmd_away.cpp @@ -2,31 +2,26 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd is copyright (C) 2002-2006 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. * * --------------------------------------------------- */ -#include "configreader.h" -#include "users.h" -#include "modules.h" +#include "inspircd.h" #include "commands/cmd_away.h" - - -extern "C" command_t* init_command(InspIRCd* Instance) +extern "C" DllExport Command* init_command(InspIRCd* Instance) { - return new cmd_away(Instance); + return new CommandAway(Instance); } -CmdResult cmd_away::Handle (const char** parameters, int pcnt, userrec *user) +/** Handle /AWAY + */ +CmdResult CommandAway::Handle (const char** parameters, int pcnt, User *user) { if ((pcnt) && (*parameters[0])) {