aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_scansion_record.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 13:53:54 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 13:53:54 +0200
commit197f437f88c6d8db9efc22d58aecd059e93b5d2d (patch)
tree2b6f9fab36979e81f281ad36e892dc3947faacd1 /plugins/mod_scansion_record.lua
parent70f86c0b666b0ee19c4270612fc0a2038fd7cd9f (diff)
downloadprosody-197f437f88c6d8db9efc22d58aecd059e93b5d2d.tar.gz
prosody-197f437f88c6d8db9efc22d58aecd059e93b5d2d.zip
mod_scansion_record: Finish function for writing data
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r--plugins/mod_scansion_record.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua
index 5edcff2b..5949c31c 100644
--- a/plugins/mod_scansion_record.lua
+++ b/plugins/mod_scansion_record.lua
@@ -11,7 +11,8 @@ local record_file = require "util.datamanager".getpath(id.medium(), module.host,
local fh = io.open(record_file, "w");
local function record(string)
-
+ fh:write(string);
+end
local function record_event(session, event)
end