diff options
author | daurnimator <quae@daurnimator.com> | 2014-06-11 17:54:23 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-06-11 17:54:23 -0400 |
commit | 75d78ae9e40c0d0b972842d30a35387f161823d5 (patch) | |
tree | 119261987b8cdfaff06b42722f8202f6b86becc1 | |
parent | be47daf8e124b7f96a7081d9873a277bf1403858 (diff) | |
download | prosody-75d78ae9e40c0d0b972842d30a35387f161823d5.tar.gz prosody-75d78ae9e40c0d0b972842d30a35387f161823d5.zip |
plugins/muc/mod_muc: fix wrong event for persistence
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 628c72b3..4cd20245 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -91,7 +91,7 @@ do -- Persistent rooms 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); |