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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user