Mercurial > prosody-hg
diff plugins/muc/mod_muc.lua @ 7694:bffbea1187ca
MUC: Run component shutdown after mod_c2s has closed its sessions (prevents ghosts)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 15 Oct 2016 17:40:31 +0200 |
| parents | 4c2407422f71 |
| children | 0e442402cebc |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Thu Oct 13 16:31:19 2016 +0200 +++ b/plugins/muc/mod_muc.lua Sat Oct 15 17:40:31 2016 +0200 @@ -306,7 +306,7 @@ 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";
