Module: ngircd.git Branch: master Commit: 40ed94a1f23aa120cb80bcf8224cef69124909f1 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=40ed9...
Author: Alexander Barton alex@barton.de Date: Sun Jul 20 13:19:36 2014 +0200
Increase MAX_SERVERS from 16 to 64
There are installations out there that would like to configure more than 16 links per server, so increase this limit. Best would be to get rid of MAX_SERVERS altogether and make if fully dynamic, but start with this quick and dirty hack ...
---
src/ngircd/defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h index 4acdc47..a140c9d 100644 --- a/src/ngircd/defines.h +++ b/src/ngircd/defines.h @@ -53,7 +53,7 @@ /* Size of structures */
/** Max. count of configurable servers. */ -#define MAX_SERVERS 16 +#define MAX_SERVERS 64
/** Max. number of WHOWAS list items that can be stored. */ #define MAX_WHOWAS 64