From 9826d2ee0a26234a4f5421ae686b0068f3f64c57 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 11 Jan 2006 12:09:25 +0000 Subject: Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORS git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_unloadmodule.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/cmd_unloadmodule.cpp') diff --git a/src/cmd_unloadmodule.cpp b/src/cmd_unloadmodule.cpp index 353933ef4..55f41bd4d 100644 --- a/src/cmd_unloadmodule.cpp +++ b/src/cmd_unloadmodule.cpp @@ -21,46 +21,21 @@ using namespace std; #include "inspircd_io.h" #include #include -#ifdef GCC3 -#include -#else -#include -#endif -#include -#include -#include -#include #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_unloadmodule.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_unloadmodule::Handle (char **parameters, int pcnt, userrec *user) { @@ -75,4 +50,3 @@ void cmd_unloadmodule::Handle (char **parameters, int pcnt, userrec *user) } } - -- cgit v1.3.1-10-gc9f91