Fixed inconsistency

This commit is contained in:
Timo Smit 2017-01-16 18:02:50 +01:00
parent 44c10910e1
commit f54e5aec36

View file

@ -32,7 +32,7 @@ local cur = nil
-- players
function sqlite3.addplayer(guid, ip)
cur = assert(con:execute("INSERT INTO `player` (`guid`, `ip`, `level`) VALUES ('"..util.escape(guid).."', '"..util.escape(ip).."', 0)"))
cur = assert(con:execute("INSERT INTO `player` (`guid`, `ip`, `level_id`) VALUES ('"..util.escape(guid).."', '"..util.escape(ip).."', 0)"))
end
function sqlite3.updateplayerip(guid, ip)