diff --git a/server/commands.lua b/server/commands.lua index 3e52246..1d649f6 100644 --- a/server/commands.lua +++ b/server/commands.lua @@ -17,8 +17,7 @@ lib.addCommand('admincar', { args = {}, permission = false, }, function(source) - local src = source - if not (exports.qbx_core:HasPermission(source, 'savecar') then + if not (exports.qbx_core:HasPermission(source, 'savecar')) then NoPerms(source) return end