diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-15 20:46:43 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-15 20:46:43 +0100 |
commit | db0f91aa0a7e9bd085b957be20019ca924306131 (patch) | |
tree | b47f1071f745d318b590c05d7fd382ae160d7849 /gui.lua | |
parent | 6738109c15f53b8f57b711719c2334b1c575bd2e (diff) |
Added support for non-ban criminal records
Diffstat (limited to 'gui.lua')
-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).." | " + 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 |