Changeset

7417:4c8ee8175f5e

MUC: Lower priority of hook so plugins hooks run before
author Kim Alvefur <zash@zash.se>
date Wed, 04 May 2016 11:08:51 +0200
parents 7416:c33a1d6da016
children 7418:e9f7043b86b5
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);