aboutsummaryrefslogtreecommitdiffstats
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
commit6713a9b34fcb560fd6d7552ff7a6185b2cab6748 (patch)
tree2b6f9fab36979e81f281ad36e892dc3947faacd1
parent6aeed144eb15ca945b658e9248684fda0b8ee9f9 (diff)
downloadprosody-6713a9b34fcb560fd6d7552ff7a6185b2cab6748.tar.gz
prosody-6713a9b34fcb560fd6d7552ff7a6185b2cab6748.zip
mod_scansion_record: Finish function for writing data
-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