X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_pass.h;h=410c8bb40abcf50ff6097ac6d470feeabafffc31;hb=9f13269062094853b023d09b4ac24d2cf08a0de2;hp=03c5ca7fc16412faec1cf7782c3bad6d4a426607;hpb=65923c4d397ce3655473b2d25db5acc90aa78075;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_pass.h b/include/commands/cmd_pass.h index 03c5ca7fc..410c8bb40 100644 --- a/include/commands/cmd_pass.h +++ b/include/commands/cmd_pass.h @@ -19,20 +19,19 @@ // include the common header files -#include -#include #include -#include -#include #include +#include "inspircd.h" #include "users.h" #include "channels.h" +/** Handle /PASS + */ class cmd_pass : public command_t { public: - cmd_pass () : command_t("PASS",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + cmd_pass (InspIRCd* Instance) : command_t(Instance,"PASS",0,1,true) { syntax = ""; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif