Software /
code /
prosody
Diff
plugins/mod_scansion_record.lua @ 9346:2946f2bd2bb5
mod_scansion_record: Open log file
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 13:52:55 +0200 |
parent | 9345:3c5c0a2521d5 |
child | 9347:9479523e209a |
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)