- cmd_version () : command_t("VERSION",0,0) { syntax = "[<servername>]"; }
- void Handle(const char** parameters, int pcnt, userrec *user);
+ /** Constructor for version.
+ */
+ CommandVersion (InspIRCd* Instance) : Command(Instance,"VERSION",0,0) { syntax = "[<servername>]"; }
+ /** 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);