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 | dea262f569c57679977957ba575d99343cb4cd06 (patch) | |
tree | 119261987b8cdfaff06b42722f8202f6b86becc1 | |
parent | 79b2d37386a35b6f3184cb5fdaada94efa9a5a4d (diff) | |
download | prosody-dea262f569c57679977957ba575d99343cb4cd06.tar.gz prosody-dea262f569c57679977957ba575d99343cb4cd06.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); |