From 95cd493df32773b0473c4fbcf1ea9fdcac514510 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 22:49:20 +0000 Subject: [PATCH] Tidied up headers and externs -- brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2542 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_admin.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/cmd_admin.cpp b/src/cmd_admin.cpp index 09a0b88fd..75b799a6d 100644 --- a/src/cmd_admin.cpp +++ b/src/cmd_admin.cpp @@ -19,13 +19,7 @@ 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 @@ -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 modules; -extern std::vector factory; -extern time_t TIME; -extern user_hash clientlist; -extern chan_hash chanlist; -extern whowas_hash whowas; -extern std::vector all_opers; -extern std::vector local_users; -extern userrec* fd_ref_table[65536]; void cmd_admin::Handle (char **parameters, int pcnt, userrec *user) { -- 2.39.2