diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-12-23 10:42:23 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-12-23 10:42:23 +0100 |
commit | 22b2214a5494fb31e7a827981da5e1a458cbf72e (patch) | |
tree | 61060fcdef5896c777d3f4f7be6ec66be508abb9 | |
parent | d42923c85fe063901d36fd95ab49339db33910ed (diff) | |
download | xban2-22b2214a5494fb31e7a827981da5e1a458cbf72e.tar.gz xban2-22b2214a5494fb31e7a827981da5e1a458cbf72e.tar.bz2 xban2-22b2214a5494fb31e7a827981da5e1a458cbf72e.zip |
fixed undefined value
-rw-r--r-- | gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ local function get_record_simple(name) end local record = { } for _, rec in ipairs(e.record) do - local msg = (os.date("%Y-%m-%d %H:%M:%S", rec.time).." | " .. (rec.type or ban).." | " + local msg = (os.date("%Y-%m-%d %H:%M:%S", rec.time).." | " .. (rec.type or "ban").." | " ..(rec.reason or "No reason given.")) table.insert(record, msg) end |