1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 08:33:14 +02:00

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
This commit is contained in:
Bram Matthys
2021-06-30 10:05:51 +02:00
parent 0bd2cfd0fc
commit a44b1cb63e
+1 -1
View File
@@ -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);