aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-08-01 01:36:25 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-08-01 01:36:25 +0500
commit664243f884bced858443a583e779e45282af3179 (patch)
treef4273702399f654601f62df1a7f5d172e12c92de /plugins/muc/muc.lib.lua
parent35113f999fdc2ef2f91c0bb6d066763518ff4829 (diff)
downloadprosody-664243f884bced858443a583e779e45282af3179.tar.gz
prosody-664243f884bced858443a583e779e45282af3179.zip
MUC: Expose room metatable in the MUC lib.
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index dd7a07f1..6d37fbcc 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -1149,4 +1149,6 @@ function _M.new_room(jid, config)
}, room_mt);
end
+_M.room_mt = room_mt;
+
return _M;