summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-06-10 12:33:22 +0200
committerTor Andersson <tor@ccxvii.net>2022-06-10 12:41:07 +0200
commita747178b4336480feee79d8f90afc5a2ab6ffc87 (patch)
treea13aa35d017abc4d2f3f5e10f00ef876ac7c391b /server.js
parent65b84ace41e7cb5de1d894f9facaca4b8a57909b (diff)
downloadserver-a747178b4336480feee79d8f90afc5a2ab6ffc87.tar.gz
Don't italicize game owner.
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/server.js b/server.js
index 15e2a53..ad13b88 100644
--- a/server.js
+++ b/server.js
@@ -1047,8 +1047,6 @@ function annotate_game(game, user_id) {
let name = p.name.replace(/ /g, '\xa0')
if (p.user_id > 0)
name = `<a href="/user/${p.name}">${name}</a>`
- if (game.status === 0 && p.user_id === game.owner_id)
- name = `<i>${name}</i>`
return name
}).join(", ")