X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcommands%2Fcmd_die.h;h=156a1508ed96ae55309c8b4e71e498121c2aadf2;hb=24731c63b6320be22f7b3220236271fa7476b975;hp=903fa8a2568d91a29e8e2eddf06695d6d4fcf2fd;hpb=449bbb6e04f73685341fc22acb4b579794bd56ac;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h index 903fa8a25..156a1508e 100644 --- a/include/commands/cmd_die.h +++ b/include/commands/cmd_die.h @@ -2,8 +2,8 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * InspIRCd: (C) 2002-2009 InspIRCd Development Team + * See: http://wiki.inspircd.org/Credits * * This program is free but copyrighted software; see * the file COPYING for details. @@ -29,14 +29,14 @@ class CommandDie : public Command public: /** Constructor for die. */ - CommandDie (InspIRCd* Instance) : Command(Instance,"DIE","o",1,false,0) { syntax = ""; } + CommandDie (InspIRCd* Instance) : Command(Instance,NULL,"DIE","o",1,false,0) { syntax = ""; } /** 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, User *user); + CmdResult Handle(const std::vector& parameters, User *user); }; #endif