X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcommands%2Fcmd_version.h;h=115d87901230a00cea671dfecaa7f187f38010fa;hb=946bff6371d73b50dae6f7011ba0adff852302f0;hp=0fcd79543255711de836bcc2835359f6e31ad098;hpb=65923c4d397ce3655473b2d25db5acc90aa78075;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_version.h b/include/commands/cmd_version.h index 0fcd79543..115d87901 100644 --- a/include/commands/cmd_version.h +++ b/include/commands/cmd_version.h @@ -19,20 +19,16 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" +/** Handle /VERSION + */ class cmd_version : public command_t { public: - cmd_version () : command_t("VERSION",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + cmd_version (InspIRCd* Instance) : command_t(Instance,"VERSION",0,0) { syntax = "[]"; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif