From f44e0c0e4f44aa85fe09cb51a0475f3e9178b74c Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Sun, 23 Sep 2018 21:59:06 +0200 Subject: [PATCH] mysql-async v3.0.1 support --- server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.lua b/server/main.lua index 4419fbd8..227b9e2d 100644 --- a/server/main.lua +++ b/server/main.lua @@ -12,7 +12,7 @@ function GetSociety(name) end end -AddEventHandler('onMySQLReady', function() +MySQL.ready(function() local result = MySQL.Sync.fetchAll('SELECT * FROM jobs', {}) for i=1, #result, 1 do