Skip to content

Commit

Permalink
Fix lint (trailing space)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dutchman101 committed Jun 2, 2024
1 parent 4432485 commit 3b82b2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions [admin]/admin/server/admin_server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,9 @@ local aAdminRights = {
}
addEvent ( "aAdmin", true )
addEventHandler ( "aAdmin", root, function ( action, ... )
if not action then
if not action then
return
end
end
if checkClient( aAdminRights[action] or true, source, 'aAdmin', action ) then
return
end
Expand Down
4 changes: 2 additions & 2 deletions [admin]/admin/server/admin_sync.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ function aSynchCoroutineFunc( type, data, typeOfTag, banSearchTag )
end
end
elseif ( type == "resources" ) then
if not hasObjectPermissionTo( source, "general.tab_resources" ) then
if not hasObjectPermissionTo( source, "general.tab_resources" ) then
return
end
end
local resourceTable = getResources()
local tick = getTickCount()
local antiCorMessageSpam = 0
Expand Down

0 comments on commit 3b82b2e

Please sign in to comment.