X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_qline.h;h=352ebddda020e4622d07344c5de02d9b3f3ee5be;hb=24731c63b6320be22f7b3220236271fa7476b975;hp=4221f78b7232112096cab99de41b8ba3e310f863;hpb=b6c238fce29fb6bd300290a5aed8cadfc58f0b47;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_qline.h b/include/commands/cmd_qline.h index 4221f78b7..352ebddda 100644 --- a/include/commands/cmd_qline.h +++ b/include/commands/cmd_qline.h @@ -2,8 +2,8 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2007 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. @@ -24,19 +24,19 @@ * the same way, however, they can be fully unloaded, where these * may not. */ -class cmd_qline : public command_t +class CommandQline : public Command { public: /** Constructor for qline. */ - cmd_qline (InspIRCd* Instance) : command_t(Instance,"QLINE",'o',1) { syntax = " [ :]"; } + CommandQline (InspIRCd* Instance) : Command(Instance,NULL,"QLINE","o",1,3,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, userrec *user); + CmdResult Handle(const std::vector& parameters, User *user); }; #endif