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/inspircd.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/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 8f5c997ed..b690c2d87 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -83,7 +83,7 @@ time_t TIME = time(NULL), OLDTIME = time(NULL); // This table references users by file descriptor. // its an array to make it VERY fast, as all lookups are referenced // by an integer, meaning there is no need for a scan/search operation. -userrec* fd_ref_table[65536]; +userrec* fd_ref_table[MAX_DESCRIPTORS]; Server* MyServer = new Server; ServerConfig *Config = new ServerConfig; |