aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_scansion_record.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 14:05:59 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 14:05:59 +0200
commitb70932d19611637629bb9aef08c8386ab643d782 (patch)
tree8d08b570cfb1cc163101c5c4e41d9060d5315e20 /plugins/mod_scansion_record.lua
parentd43d603b11bbf8e30f5a89c88870e9ea160f8c46 (diff)
downloadprosody-b70932d19611637629bb9aef08c8386ab643d782.tar.gz
prosody-b70932d19611637629bb9aef08c8386ab643d782.zip
mod_scansion_record: Tweak filename
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r--plugins/mod_scansion_record.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua
index 3eee26a4..4b807993 100644
--- a/plugins/mod_scansion_record.lua
+++ b/plugins/mod_scansion_record.lua
@@ -6,7 +6,7 @@ local full_jids = {};
local id = require "util.id";
-local record_file = require "util.datamanager".getpath(id.medium(), module.host, os.date("%Y-%m-%d"), "scs", true);
+local record_file = require "util.datamanager".getpath(id.medium():lower(), module.host, os.date("%Y%b%d"):lower(), "scs", true);
local fh = io.open(record_file, "w");