mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Fallback to bouncer network host if name is unset
This commit is contained in:
parent
8bdde589bb
commit
a31976586c
1 changed files with 1 additions and 1 deletions
2
state.js
2
state.js
|
@ -71,7 +71,7 @@ export function getServerName(server, bouncerNetwork, isBouncer) {
|
|||
// User has picked a custom name for the network, use that
|
||||
return bouncerNetwork.name;
|
||||
}
|
||||
return netName || bouncerNetwork.name || "server";
|
||||
return netName || bouncerNetwork.name || bouncerNetwork.host || "server";
|
||||
}
|
||||
if (isBouncer) {
|
||||
return "bouncer";
|
||||
|
|
Loading…
Reference in a new issue