Skip to content

Commit

Permalink
Update mysqloolib.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
FredyH authored Nov 17, 2021
1 parent faff31e commit 6916f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/mysqloolib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ require("mysqloo")
if (mysqloo.VERSION != "9" || !mysqloo.MINOR_VERSION || tonumber(mysqloo.MINOR_VERSION) < 1) then
MsgC(Color(255, 0, 0), "You are using an outdated mysqloo version\n")
MsgC(Color(255, 0, 0), "Download the latest mysqloo9 from here\n")
MsgC(Color(86, 156, 214), "https://github.com/syl0r/MySQLOO/releases")
MsgC(Color(86, 156, 214), "https://github.com/FredyH/MySQLOO/releases")
return
end

local db = {}
local baseMeta = FindMetaTable("MySQLOO Database")
local baseMeta = FindMetaTable("MySQLOO Database") or {} -- this ensures backwards compatibility to <=9.6
local dbMetatable = {__index = function(tbl, key)
return (db[key] or baseMeta[key])
end}
Expand Down

0 comments on commit 6916f87

Please sign in to comment.