mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 07:39:13 +01:00
[MIRROR] mass refactor of holder checks (#11155)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
54d0d16826
commit
7161a6c22e
@@ -16,7 +16,7 @@
|
||||
to_chat(src, span_warning("You have OOC muted."))
|
||||
return
|
||||
|
||||
if(!holder)
|
||||
if(!check_rights_for(src, R_HOLDER))
|
||||
if(!CONFIG_GET(flag/ooc_allowed))
|
||||
to_chat(src, span_danger("OOC is globally muted."))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user