diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-11 12:09:25 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-11 12:09:25 +0000 |
commit | 9826d2ee0a26234a4f5421ae686b0068f3f64c57 (patch) | |
tree | ef18b42f6219e1594509e7df415de462214ccb62 /src/cmd_users.cpp | |
parent | 7a8a69fb34fb9142b0c8943064f024e486c68a85 (diff) |
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
Diffstat (limited to 'src/cmd_users.cpp')
-rw-r--r-- | src/cmd_users.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/cmd_users.cpp b/src/cmd_users.cpp index e7be615f4..118d3c64f 100644 --- a/src/cmd_users.cpp +++ b/src/cmd_users.cpp @@ -21,47 +21,16 @@ using namespace std; #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 "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_users.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_users::Handle (char **parameters, int pcnt, userrec *user) { WriteServ(user->fd,"445 %s :USERS has been disabled (depreciated command)",user->nick); |