Merge pull request #11033 from VOREStation/upstream-merge-8161

[MIRROR] Fixes inverted logic in staffwho
This commit is contained in:
Aronai Sieyes
2021-07-12 10:42:49 -04:00
committed by Chompstation Bot
parent 796c58e062
commit 7db9506281

View File

@@ -69,7 +69,7 @@
var/temp = ""
var/category = R_ADMIN
// VOREStation Edit - Apply stealthmin protection to all levels
if(C.holder.fakekey && !check_rights(R_ADMIN|R_MOD, FALSE, src)) // Only admins and mods can see stealthmins
if(C.holder.fakekey && !check_rights_for(src, R_ADMIN|R_MOD)) // Only admins and mods can see stealthmins
continue
// VOREStation Edit End
if(check_rights(R_BAN, FALSE, C)) // admins //VOREStation Edit