diff options
| author | 2005-12-29 19:34:18 +0000 | |
|---|---|---|
| committer | 2005-12-29 19:34:18 +0000 | |
| commit | f278bdbbad200b5424c5721ac85ee3dd8d982d60 (patch) | |
| tree | 1f3a83005df38bacee4281ee21706c64a2871082 /src/command_parse.cpp | |
| parent | Changed 65535 to MAX_DESCRIPTORS calculated at configure-time (diff) | |
Changed to MAX_DESCRIPTORS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index cd1faa885..cacc1d16a 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -75,13 +75,13 @@ extern std::vector<InspSocket*> module_sockets; extern std::vector<userrec*> local_users; extern int MODCOUNT; -extern InspSocket* socket_ref[65535]; +extern InspSocket* socket_ref[MAX_DESCRIPTORS]; extern time_t TIME; // 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. -extern userrec* fd_ref_table[65536]; +extern userrec* fd_ref_table[MAX_DESCRIPTORS]; extern Server* MyServer; extern ServerConfig *Config; |
