]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_commands.cpp
userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()
[user/henk/code/inspircd.git] / src / cmd_commands.cpp
index db6efe32fe3d05ec8ed06bdf91af7a0a2991b5b1..257413c1134f9a742efed1a085cc994edf6ebaed 100644 (file)
  * ---------------------------------------------------
  */
 
-using namespace std;
-
-#include "inspircd_config.h"
 #include "inspircd.h"
-#include "inspircd_io.h"
-#include <time.h>
-#include <string>
-#ifdef GCC3
-#include <ext/hash_map>
-#else
-#include <hash_map>
-#endif
-#include <map>
-#include <sstream>
-#include <vector>
-#include <deque>
 #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<std::string,command_t*>::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);
 }
-
-