Merge pull request #2520 from CHOMPStationBot/upstream-merge-11033

[MIRROR] [MIRROR] Fixes inverted logic in staffwho
This commit is contained in:
Nadyr
2021-07-13 22:51:16 -04:00
committed by GitHub

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