Software /
code /
prosody
Comparison
plugins/mod_scansion_record.lua @ 9362:31317e8edbbc
mod_scansion_record: Fix missed rename of file handle
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 14:29:39 +0200 |
parent | 9361:3620f7b3517b |
child | 9363:c4ecaaf66e76 |
comparison
equal
deleted
inserted
replaced
9361:3620f7b3517b | 9362:31317e8edbbc |
---|---|
70 filters.add_filter(session, "stanzas/in", record_stanza_in); | 70 filters.add_filter(session, "stanzas/in", record_stanza_in); |
71 filters.add_filter(session, "stanzas/out", record_stanza_out); | 71 filters.add_filter(session, "stanzas/out", record_stanza_out); |
72 end); | 72 end); |
73 | 73 |
74 module:hook_global("server-stopping", function () | 74 module:hook_global("server-stopping", function () |
75 fh:close(); | 75 scan:close(); |
76 end); | 76 end); |