diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-22 14:18:39 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-22 14:18:39 +0200 |
commit | ae6a657fbe9e0299d6264e4377d920f372439a59 (patch) | |
tree | 2ad15808074f4cf0fe80934e22bb4be9e032226c | |
parent | 139046d67cae46e3a3004fd6b6585279afc4909e (diff) | |
download | prosody-ae6a657fbe9e0299d6264e4377d920f372439a59.tar.gz prosody-ae6a657fbe9e0299d6264e4377d920f372439a59.zip |
mod_scansion_record: Rename main file handle
-rw-r--r-- | plugins/mod_scansion_record.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index 006412f7..6ac3a31c 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -9,10 +9,10 @@ local id = require "util.id"; local record_file = require "util.datamanager".getpath(id.medium():lower(), "scansion", os.date("%Y%b%d"):lower(), "scs", true); -local fh = io.open(record_file, "w"); +local scan = io.open(record_file, "w"); local function record(string) - fh:write(string); + scan:write(string); end local function record_event(session, event) |