From 78bcabcbfcf60c48897b9e87c754200a2972271e Mon Sep 17 00:00:00 2001 From: Kasey FItton Date: Fri, 12 Jul 2024 01:31:33 +0100 Subject: [PATCH] fix(server/events): fix the typo in the typo kill me plz --- server/events.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/events.lua b/server/events.lua index a3697e4..f741bef 100644 --- a/server/events.lua +++ b/server/events.lua @@ -28,7 +28,7 @@ if readyFunction ~= nil then local DatabaseInfo = QBCore.Functions.GetDatabaseInfo() if not DatabaseInfo or not DatabaseInfo.exists then return end - local result = MySQL.query.await('SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCEHMA = ? AND TABLE_NAME = "bans";', {DatabaseInfo.database}) + local result = MySQL.query.await('SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_NAME = "bans";', {DatabaseInfo.database}) if result and result[1] then bansTableExists = true end