- cmd_squit () : command_t("SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
- void Handle(const char** parameters, int pcnt, userrec *user);
+ /** Constructor for squit.
+ */
+ CommandSquit (InspIRCd* Instance) : Command(Instance,"SQUIT","o",1) { syntax = "<servername> [<reason>]"; }
+ /** 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);