Diff

plugins/muc/mod_muc.lua @ 6276:9290a2906feb

plugins/muc/mod_muc: fix wrong event for persistence
author daurnimator <quae@daurnimator.com>
date Wed, 11 Jun 2014 17:54:23 -0400
parent 6248:4569b8cbd269
child 6328:93fb28851d9e
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Wed Jun 11 14:59:59 2014 -0400
+++ b/plugins/muc/mod_muc.lua	Wed Jun 11 17:54:23 2014 -0400
@@ -91,7 +91,7 @@
 	end
 
 	-- When room is created, over-ride 'save' method
-	module:hook("muc-occupant-pre-create", function(event)
+	module:hook("muc-room-pre-create", function(event)
 		event.room.save = room_save;
 	end, 1000);