X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fcommands%2Fcmd_names.h;h=3c106a5a95ee60abd361cce4d4fa76759686c612;hb=946bff6371d73b50dae6f7011ba0adff852302f0;hp=fdcf2ea40c71b80ae0f244d8dbd4624e9d8c47ee;hpb=dc8f5d02f77aeabefaefe88005b99c8b47030ab7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/commands/cmd_names.h b/include/commands/cmd_names.h index fdcf2ea40..3c106a5a9 100644 --- a/include/commands/cmd_names.h +++ b/include/commands/cmd_names.h @@ -19,20 +19,16 @@ // include the common header files -#include -#include -#include -#include -#include -#include #include "users.h" #include "channels.h" +/** Handle /NAMES + */ class cmd_names : public command_t { public: - cmd_names () : command_t("NAMES",0,0) { syntax = "{{,}}"; } - void Handle(const char** parameters, int pcnt, userrec *user); + cmd_names (InspIRCd* Instance) : command_t(Instance,"NAMES",0,0) { syntax = "{{,}}"; } + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif