aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 14:27:24 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 14:27:24 +0200
commitda949c0ec47435eceb2c2a07c2224ba5e46cb154 (patch)
tree7b0818f75be43e7c439df436d35da48c12a255d6 /plugins
parent7ee11a47efc15f8eb2a16ec10bf894399a4a9332 (diff)
downloadprosody-da949c0ec47435eceb2c2a07c2224ba5e46cb154.tar.gz
prosody-da949c0ec47435eceb2c2a07c2224ba5e46cb154.zip
mod_scansion_record: Hook correct shutdown event
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_scansion_record.lua2
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);