From 19d92df3bc219641de436994e9b21d1b200f10c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Mart=C3=ADnez?= Date: Fri, 27 Jun 2014 17:52:59 -0300 Subject: [PATCH] Fix /xban_record showing last banned time for all entries. --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 3199e50..53b2e8d 100644 --- a/init.lua +++ b/init.lua @@ -234,12 +234,12 @@ minetest.register_chatcommand("xban_record", { local msg if rec.expires then msg = ("%s, Expires: %s"):format( - rec.reason, os.date("%c", e.expires)) + rec.reason, os.date("%c", rec.expires)) else msg = rec.reason end minetest.chat_send_player(name, - ("[%s]: %s"):format(os.date("%c", e.time), msg)) + ("[%s]: %s"):format(os.date("%c", rec.time), msg)) end if e.last_pos then minetest.chat_send_player(name,