mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge pull request #11033 from VOREStation/upstream-merge-8161
[MIRROR] Fixes inverted logic in staffwho
This commit is contained in:
committed by
Chompstation Bot
parent
796c58e062
commit
7db9506281
@@ -69,7 +69,7 @@
|
|||||||
var/temp = ""
|
var/temp = ""
|
||||||
var/category = R_ADMIN
|
var/category = R_ADMIN
|
||||||
// VOREStation Edit - Apply stealthmin protection to all levels
|
// 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
|
continue
|
||||||
// VOREStation Edit End
|
// VOREStation Edit End
|
||||||
if(check_rights(R_BAN, FALSE, C)) // admins //VOREStation Edit
|
if(check_rights(R_BAN, FALSE, C)) // admins //VOREStation Edit
|
||||||
|
|||||||
Reference in New Issue
Block a user