Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Fix: Name display for staff with forced anon on
Browse files Browse the repository at this point in the history
  • Loading branch information
bakape committed Nov 29, 2015
1 parent bf61231 commit caeeb76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit caeeb76

Please sign in to comment.