diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-22 14:27:24 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-22 14:27:24 +0200 |
commit | 86d5f1d8fd47b2a84cf6f9470d5947166830fcf8 (patch) | |
tree | 7b0818f75be43e7c439df436d35da48c12a255d6 /plugins/mod_scansion_record.lua | |
parent | 5cbd305953712374a7a0f8496531fe160cfcf518 (diff) | |
download | prosody-86d5f1d8fd47b2a84cf6f9470d5947166830fcf8.tar.gz prosody-86d5f1d8fd47b2a84cf6f9470d5947166830fcf8.zip |
mod_scansion_record: Hook correct shutdown event
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r-- | plugins/mod_scansion_record.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index c6c90bc3..e637d104 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -68,6 +68,6 @@ module:hook("resource-bind", function (event) filters.add_filter(session, "stanzas/out", record_stanza_out); end); -module:hook_global("server-shutdown", function () +module:hook_global("server-stopping", function () fh:close(); end); |