aboutsummaryrefslogtreecommitdiffstats
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
commit87daf634cdc6faaddc812500e427e9791128fb4d (patch)
treef4273702399f654601f62df1a7f5d172e12c92de
parent79e3b83332033b221938a50763e293fd920ad76d (diff)
downloadprosody-87daf634cdc6faaddc812500e427e9791128fb4d.tar.gz
prosody-87daf634cdc6faaddc812500e427e9791128fb4d.zip
MUC: Expose room metatable in the MUC lib.
-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;