Update commands.lua

ESSENTIAL 5.0 COMPATIBILITY
This commit is contained in:
Lén
2017-11-30 17:34:27 +01:00
committed by GitHub
parent d231d9285c
commit 29117bbd1b
+1 -1
View File
@@ -9,7 +9,7 @@ end, function (source, args, user)
end, { help = _U('help_whitelist_load') })
TriggerEvent('es:addGroupCommand', 'whitelist:add', 'admin', function (source, args, user)
local steamID = 'steam:' .. args[2]
local steamID = 'steam:' .. args[1]
MySQL.Async.execute(
'INSERT INTO whitelist (identifier) VALUES (@identifier)',