aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 13:52:55 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 13:52:55 +0200
commit6801bc42b14e094dc9238fd208ce8ee9d697eb07 (patch)
tree4bfd0ef15c8d97998c2543b0109122a5c4f66d8f
parent7ae651b9f8a60be54727b75733d83c3c69bcc872 (diff)
downloadprosody-6801bc42b14e094dc9238fd208ce8ee9d697eb07.tar.gz
prosody-6801bc42b14e094dc9238fd208ce8ee9d697eb07.zip
mod_scansion_record: Open log file
-rw-r--r--plugins/mod_scansion_record.lua2
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)