X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_commands.cpp;h=257413c1134f9a742efed1a085cc994edf6ebaed;hb=922d4ebf7a27a6577d6b4f91e0f42ccdfa989455;hp=db6efe32fe3d05ec8ed06bdf91af7a0a2991b5b1;hpb=1383dba43e463f292aea094d01f62f355946049d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_commands.cpp b/src/cmd_commands.cpp index db6efe32f..257413c11 100644 --- a/src/cmd_commands.cpp +++ b/src/cmd_commands.cpp @@ -14,38 +14,15 @@ * --------------------------------------------------- */ -using namespace std; - -#include "inspircd_config.h" #include "inspircd.h" -#include "inspircd_io.h" -#include -#include -#ifdef GCC3 -#include -#else -#include -#endif -#include -#include -#include -#include #include "users.h" -#include "ctables.h" -#include "globals.h" -#include "message.h" #include "commands.h" -#include "inspstring.h" #include "helperfuncs.h" -#include "hashcomp.h" -#include "typedefs.h" -#include "command_parse.h" -#include "cmd_commands.h" +#include "commands/cmd_commands.h" -extern ServerConfig* Config; extern InspIRCd* ServerInstance; -void cmd_commands::Handle (char **parameters, int pcnt, userrec *user) +void cmd_commands::Handle (const char** parameters, int pcnt, userrec *user) { for (nspace::hash_map::iterator i = ServerInstance->Parser->cmdlist.begin(); i != ServerInstance->Parser->cmdlist.end(); i++) { @@ -53,5 +30,3 @@ void cmd_commands::Handle (char **parameters, int pcnt, userrec *user) } WriteServ(user->fd,"903 %s :End of COMMANDS list",user->nick); } - -