X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_motd.h;h=b57d851d9d75ad8af86012e453ddf3847d772bdc;hb=c29175d8064b3428685da1155704b6c54c116b94;hp=42e33439898a4848018f326f3ceedb4b0212c7e3;hpb=dd36852a52e8541306b76c5b88bce8ab9b36654c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_motd.h b/include/commands/cmd_motd.h index 42e334398..b57d851d9 100644 --- a/include/commands/cmd_motd.h +++ b/include/commands/cmd_motd.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. @@ -32,14 +32,14 @@ class CommandMotd : public Command public: /** Constructor for motd. */ - CommandMotd (InspIRCd* Instance) : Command(Instance,"MOTD",0,0) { syntax = "[]"; } + CommandMotd (InspIRCd* Instance) : Command(Instance,NULL,"MOTD",0,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* const* parameters, int pcnt, User *user); + CmdResult Handle(const std::vector& parameters, User *user); }; #endif