From caeeb76991f0178b96edab298d3d6d4a4d990046 Mon Sep 17 00:00:00 2001 From: bakape Date: Sun, 29 Nov 2015 07:17:11 +0200 Subject: [PATCH] Fix: Name display for staff with forced anon on --- server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.js b/server/server.js index ec394bfda..fd6a525d5 100644 --- a/server/server.js +++ b/server/server.js @@ -284,7 +284,7 @@ function allocate_post(msg, client, callback) { // Replace names, when a song plays on r/a/dio if (radio && radio.name) post.name = radio.name; - else if (!common.checkAuth('dj', client.ident) && !STATE.hot.forced_anon) { + else if (common.checkAuth('dj', client.ident) || !STATE.hot.forced_anon) { /* TODO: Check against client.watching? */ if (msg.name) { const parsed = common.parse_name(msg.name);