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/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 599ccdb80..d63d54584 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -87,7 +87,7 @@ extern std::vector local_users; // 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]; char* CleanFilename(char* name) { -- cgit v1.2.3