From 29117bbd1b3b6b61943b16792c1b5df126dd323a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9n?= Date: Thu, 30 Nov 2017 17:34:27 +0100 Subject: [PATCH] Update commands.lua ESSENTIAL 5.0 COMPATIBILITY --- server/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/commands.lua b/server/commands.lua index 1564b0d8..11daa53b 100644 --- a/server/commands.lua +++ b/server/commands.lua @@ -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)',