diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-22 13:52:55 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-22 13:52:55 +0200 |
commit | 6801bc42b14e094dc9238fd208ce8ee9d697eb07 (patch) | |
tree | 4bfd0ef15c8d97998c2543b0109122a5c4f66d8f /plugins/mod_scansion_record.lua | |
parent | 7ae651b9f8a60be54727b75733d83c3c69bcc872 (diff) | |
download | prosody-6801bc42b14e094dc9238fd208ce8ee9d697eb07.tar.gz prosody-6801bc42b14e094dc9238fd208ce8ee9d697eb07.zip |
mod_scansion_record: Open log file
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r-- | plugins/mod_scansion_record.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index 52003194..88c3e70a 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -8,6 +8,8 @@ local id = require "util.id"; local record_file = require "util.datamanager".getpath(id.medium(), module.host, os.date("%Y-%m-%d"), "scs", true); +local fh = io.open(record_file, "w"); + local function record(string) |