aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_scansion_record.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-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);