Diff

plugins/muc/mod_muc.lua @ 7411:f385cd6127b2

MUC: Add event for when room is done being created
author Kim Alvefur <zash@zash.se>
date Thu, 28 Apr 2016 22:57:53 +0200
parent 7410:45f543c82893
child 7414:1b62c89014c4
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Thu Apr 28 22:57:02 2016 +0200
+++ b/plugins/muc/mod_muc.lua	Thu Apr 28 22:57:53 2016 +0200
@@ -210,7 +210,7 @@
 	end
 end);
 
-module:hook("muc-room-pre-create", function(event)
+module:hook("muc-room-created", function(event)
 	track_room(event.room);
 end, -1000);