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 | 42adc5de68bf5eb622b02a5fadbb89910dd6902f (patch) | |
tree | 4bfd0ef15c8d97998c2543b0109122a5c4f66d8f | |
parent | 32684c196d9a30ec052be42768797fd245edf5f5 (diff) | |
download | prosody-42adc5de68bf5eb622b02a5fadbb89910dd6902f.tar.gz prosody-42adc5de68bf5eb622b02a5fadbb89910dd6902f.zip |
mod_scansion_record: Open log file
-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) |