aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit42adc5de68bf5eb622b02a5fadbb89910dd6902f (patch)
tree4bfd0ef15c8d97998c2543b0109122a5c4f66d8f /plugins
parent32684c196d9a30ec052be42768797fd245edf5f5 (diff)
downloadprosody-42adc5de68bf5eb622b02a5fadbb89910dd6902f.tar.gz
prosody-42adc5de68bf5eb622b02a5fadbb89910dd6902f.zip
mod_scansion_record: Open log file
Diffstat (limited to 'plugins')
-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)