diff options
author | Kim Alvefur <zash@zash.se> | 2016-10-15 17:40:31 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-10-15 17:40:31 +0200 |
commit | 332c6b47df58aae6c9c4299d65e1fc43a4ca1989 (patch) | |
tree | f2b12fa17b833e02a8462a204c32bfbc5fbb7f08 | |
parent | a3404f4563d188908f2dbc2612d02b2aac9745d7 (diff) | |
download | prosody-332c6b47df58aae6c9c4299d65e1fc43a4ca1989.tar.gz prosody-332c6b47df58aae6c9c4299d65e1fc43a4ca1989.zip |
MUC: Run component shutdown after mod_c2s has closed its sessions (prevents ghosts)
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index d8553d5e..12b95b2c 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -306,7 +306,7 @@ function shutdown_component() room:save(nil, true); end end -module:hook_global("server-stopping", shutdown_component); +module:hook_global("server-stopping", shutdown_component, -300); do -- Ad-hoc commands module:depends "adhoc"; |