Software /
code /
prosody
Changeset
9346:2946f2bd2bb5
mod_scansion_record: Open log file
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 13:52:55 +0200 |
parents | 9345:3c5c0a2521d5 |
children | 9347:9479523e209a |
files | plugins/mod_scansion_record.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_scansion_record.lua Sat Sep 22 13:51:28 2018 +0200 +++ b/plugins/mod_scansion_record.lua Sat Sep 22 13:52:55 2018 +0200 @@ -8,6 +8,8 @@ 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)