mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Merge branch 'dev' into feature/afk-kick
This commit is contained in:
@@ -44,6 +44,7 @@ return {
|
||||
'modules.addons.chat-reply',
|
||||
'modules.addons.tree-decon',
|
||||
'modules.addons.afk-kick',
|
||||
'modules.addons.report-jail',
|
||||
|
||||
--- Data
|
||||
'modules.data.statistics',
|
||||
|
||||
@@ -173,6 +173,7 @@ return {
|
||||
},
|
||||
['command/report'] = {
|
||||
auth=function(player,selected_player)
|
||||
if player == selected_player then return false end
|
||||
if not Roles.player_allowed(player,'command/give-warning') then
|
||||
return not Roles.player_has_flag(selected_player,'report-immune')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user