Store last time player logged in into DB.

This commit is contained in:
Diego Martinez 2014-07-09 06:46:58 -03:00
parent 7923c393e9
commit 8fa41861dd

View File

@ -174,6 +174,7 @@ minetest.register_on_joinplayer(function(player)
local e = xban.find_entry(name) or xban.find_entry(ip, true)
e.names[name] = true
e.names[ip] = true
e.last_seen = os.time()
end)
minetest.register_chatcommand("xban", {