# HG changeset patch # User Kim Alvefur # Date 1462352931 -7200 # Node ID 4c8ee8175f5e71a9b72fd652ff4e1c2d3f59efc9 # Parent c33a1d6da016a82c0fcf3a1a6e2f239177466888 MUC: Lower priority of hook so plugins hooks run before diff -r c33a1d6da016 -r 4c8ee8175f5e plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Sat Apr 30 17:25:06 2016 +0200 +++ b/plugins/muc/mod_muc.lua Wed May 04 11:08:51 2016 +0200 @@ -125,7 +125,7 @@ if not room:has_occupant() and not persistent.get(room) then -- empty, non-persistent room module:fire_event("muc-room-destroyed", { room = room }); end -end); +end, -1); function track_room(room) rooms:set(room.jid, room);