]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_commands.cpp
Remove an extern, partly because it's unused, partly because it then gets shadowed...
[user/henk/code/inspircd.git] / src / cmd_commands.cpp
index 961c8db880a5a164ff4e1c5e626f4839ae3f6c31..5fd9767343adad899f0e2ea7ec403fa14ec7c12d 100644 (file)
@@ -2,10 +2,10 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  Inspire is copyright (C) 2002-2005 ChatSpike-Dev.
+ *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
  *                       E-mail:
- *                <brain.net>
- *                <Craig.net>
+ *                <brain@chatspike.net>
+ *                <Craig@chatspike.net>
  *
  * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
  * ---------------------------------------------------
  */
 
-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"
 
-extern ServerConfig* Config;
 extern InspIRCd* ServerInstance;
 
 void cmd_commands::Handle (char **parameters, int pcnt, userrec *user)
@@ -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);
 }
-
-