]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Tidied up headers and externs -- brain
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 16 Dec 2005 22:49:20 +0000 (22:49 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Fri, 16 Dec 2005 22:49:20 +0000 (22:49 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2542 e03df62e-2008-0410-955e-edbf42e46eb7

src/cmd_admin.cpp

index 09a0b88fdf8141cdca9faba78ef67b2cc2668a89..75b799a6d605c7a8916e33045002dfb2c31d69ad 100644 (file)
@@ -19,13 +19,7 @@ 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>
@@ -33,34 +27,17 @@ using namespace std;
 #include "users.h"
 #include "ctables.h"
 #include "globals.h"
-#include "modules.h"
-#include "dynamic.h"
 #include "wildcard.h"
 #include "message.h"
 #include "commands.h"
-#include "mode.h"
-#include "xline.h"
 #include "inspstring.h"
-#include "dnsqueue.h"
 #include "helperfuncs.h"
 #include "hashcomp.h"
-#include "socketengine.h"
 #include "typedefs.h"
-#include "command_parse.h"
 #include "cmd_admin.h"
 
 extern ServerConfig* Config;
 extern InspIRCd* ServerInstance;
-extern int MODCOUNT;
-extern std::vector<Module*> modules;
-extern std::vector<ircd_module*> factory;
-extern time_t TIME;
-extern user_hash clientlist;
-extern chan_hash chanlist;
-extern whowas_hash whowas;
-extern std::vector<userrec*> all_opers;
-extern std::vector<userrec*> local_users;
-extern userrec* fd_ref_table[65536];
 
 void cmd_admin::Handle (char **parameters, int pcnt, userrec *user)
 {