Software /
code /
prosody
Changeset
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 |
parents | 6275:d891fa02e5e5 |
children | 6277:f2c9c36979b3 |
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 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);