summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 22:49:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 22:49:20 +0000
commit95cd493df32773b0473c4fbcf1ea9fdcac514510 (patch)
tree89331a92fbbadc4d6712a3ae68e6d8631c7ab93b
parentc8240fcba32a3467bebbbcc43084979bdeb6c278 (diff)
Tidied up headers and externs -- brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2542 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/cmd_admin.cpp23
1 files changed, 0 insertions, 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 <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)
{