summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.js b/server.js
index 859a409..8dbf871 100644
--- a/server.js
+++ b/server.js
@@ -1221,10 +1221,10 @@ function format_options(options) {
return k.replace(/_/g, " ").replace(/^\w/, c => c.toUpperCase())
}
return Object.entries(options||{}).map(([k,v]) => {
- if (v === true || v === 1)
- return to_english(k)
if (k === "players")
return v + " Player"
+ if (v === true || v === 1)
+ return to_english(k)
return to_english(k) + "=" + to_english(v)
}).join(", ")
}