aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_scansion_record.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 13:51:28 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 13:51:28 +0200
commit7ae651b9f8a60be54727b75733d83c3c69bcc872 (patch)
tree063612bb4a15800a5c36d002858250acdb66af24 /plugins/mod_scansion_record.lua
parent94fd1bbf882c1ca94eb0fb41ee2fe827e39673e4 (diff)
downloadprosody-7ae651b9f8a60be54727b75733d83c3c69bcc872.tar.gz
prosody-7ae651b9f8a60be54727b75733d83c3c69bcc872.zip
mod_scansion_record: Have datamanager generate a filename for output
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 47a33e34..52003194 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 =
+local record_file = require "util.datamanager".getpath(id.medium(), module.host, os.date("%Y-%m-%d"), "scs", true);
local function record(string)