aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2026-03-18 22:50:01 +0100
committerstonedDiscord <Tukz@gmx.de>2026-03-18 22:50:01 +0100
commit4715e7ccde04a77ff04f1ac839c151eaebc4ad44 (patch)
tree19acf817906379f4a99e325a2ca40ed431814ea0 /webAO
parent0fb9f2bb4f1b34ba55cdc06a83dc06a4a5754f97 (diff)
dont skip empty descriptions
Diffstat (limited to 'webAO')
-rw-r--r--webAO/master.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/webAO/master.ts b/webAO/master.ts
index ddef040..b40763d 100644
--- a/webAO/master.ts
+++ b/webAO/master.ts
@@ -74,8 +74,7 @@ async function getServerlist(): Promise<AOServer[]> {
continue;
}
if (!item.description) {
- console.warn(`Server ${item.name} has no description, skipping`);
- continue;
+ console.warn(`Server ${item.name} has no description`);
}
const newServer: AOServer = {
@@ -94,9 +93,8 @@ async function getServerlist(): Promise<AOServer[]> {
}
// if none of ws_port or wss_port are defined, skip
- // Note that this is not an error condition, as many servers only has port (TCP) enabled
- // Which means they don't support webAO
if (!newServer.ws_port && !newServer.wss_port) {
+ console.warn(`Server ${item.name} has no websocket port, skipping`);
continue;
}