Fixes NtOS chat bluescreen, muting (#63433)

This commit is contained in:
Jeremiah
2021-12-24 13:02:21 +02:00
committed by GitHub
parent 7efbae606a
commit 42fb48f33f
3 changed files with 7 additions and 8 deletions
@@ -86,7 +86,7 @@
offline_clients.Add(offline)
/datum/ntnet_conversation/proc/mute_user(datum/computer_file/program/chatclient/op, datum/computer_file/program/chatclient/muted)
if(operator != op) //sanity even if the person shouldn't be able to see the mute button
if(!op.netadmin_mode && operator != op) //sanity even if the person shouldn't be able to see the mute button
return
if(muted in muted_clients)
muted_clients.Remove(muted)