Increase default MAXIMUM_LINKS from 1 to 100
authorRemco Rijnders <remmy@serenity-irc.net>
Sat, 7 Mar 2026 17:17:36 +0000 (12:17 -0500)
committerRemco Rijnders <remmy@serenity-irc.net>
Sat, 7 Mar 2026 17:17:36 +0000 (12:17 -0500)
The default class 0 had maxLinks=1, meaning only a single client could
connect when running without a config file (no Y-line/class{} blocks).
Bump to 100 so the ircd is actually usable out of the box.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
include/config.h

index 1239ee791801cbf3dded39340323a60a892a61cd..fdcb0add12de276a54352157f403fe86e8786085 100644 (file)
 #define        CONNECTTIMEOUT  60
 #define KILLCHASETIMELIMIT 90
 
-#define MAXIMUM_LINKS 1
+#define MAXIMUM_LINKS 100
 
 /*
  * Hub mode is now a runtime setting via ircd.conf: