Fixes NtOS chat bluescreen, muting (#63433)

This commit is contained in:
Jeremiah
2021-12-24 03:02:21 -08:00
committed by GitHub
parent 7efbae606a
commit 42fb48f33f
3 changed files with 7 additions and 8 deletions
@@ -91,8 +91,7 @@
if("PRG_toggleadmin")
if(netadmin_mode)
netadmin_mode = FALSE
if(channel)
channel.remove_client(src) // We shouldn't be in channel's user list, but just in case...
channel?.add_client(src)
return TRUE
var/mob/living/user = usr
if(can_run(user, TRUE, ACCESS_NETWORK))