diff options
author | Diego MartÃnez <kaeza@users.sf.net> | 2014-06-27 17:52:59 -0300 |
---|---|---|
committer | Diego MartÃnez <kaeza@users.sf.net> | 2014-06-27 17:52:59 -0300 |
commit | 19d92df3bc219641de436994e9b21d1b200f10c8 (patch) | |
tree | bd1a0dfe2d54ed6adfaade9b5520a5f945f79dfc | |
parent | ed621c5ce02a340890e45b2f86a7969f0cfdcd6d (diff) |
Fix /xban_record showing last banned time for all entries.
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |