X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_connect.h;h=ee9c7342988170e6b3853084d6e93ae6b79b28be;hb=946bff6371d73b50dae6f7011ba0adff852302f0;hp=a65000da4ebcce3dfc011b6e84eeda9e29a5c94b;hpb=65923c4d397ce3655473b2d25db5acc90aa78075;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_connect.h b/include/commands/cmd_connect.h index a65000da4..ee9c73429 100644 --- a/include/commands/cmd_connect.h +++ b/include/commands/cmd_connect.h @@ -20,12 +20,15 @@ #include "users.h" #include "channels.h" #include "ctables.h" +#include "modules.h" +/** Handle /CONNECT + */ class cmd_connect : public command_t { public: - cmd_connect () : command_t("CONNECT",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + cmd_connect (InspIRCd* Instance) : command_t(Instance,"CONNECT",'o',1) { syntax = " []"; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif