From a44b1cb63eb74f3f73eff926c281006db91bf9fa Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Wed, 30 Jun 2021 10:05:51 +0200 Subject: [PATCH] Fix ./unralircd genlinkblock printing out a confusing error message if you have serversonly listen block without tls. Reported by Valware in https://bugs.unrealircd.org/view.php?id=5945 --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 702d355c5..05dd0ab68 100644 --- a/src/conf.c +++ b/src/conf.c @@ -11376,7 +11376,7 @@ void link_generator(void) if (!port) { - printf("You don't have any listen { } blocks that are serversonly.\n"); + printf("You don't have any listen { } blocks that are serversonly (and have tls enabled).\n"); printf("It is recommended to have at least one. Add this to your configuration file:\n"); printf("listen { ip *; port 6900; options { tls; serversonly; }; };\n"); exit(1);