mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[MIRROR] Fixes NtOS chat bluescreen, muting [MDB IGNORE] (#10237)
* Fixes NtOS chat bluescreen, muting (#63433) * Fixes NtOS chat bluescreen, muting Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user