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
commit5ffddc0b0e95378ad89bc2292826384101cde195 (patch)
tree8d08b570cfb1cc163101c5c4e41d9060d5315e20 /plugins/mod_scansion_record.lua
parente9ea93f57f8c180195719d77a7b67858b31ea637 (diff)
downloadprosody-5ffddc0b0e95378ad89bc2292826384101cde195.tar.gz
prosody-5ffddc0b0e95378ad89bc2292826384101cde195.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");