diff options
author | Waqas Hussain <waqas20@gmail.com> | 2012-08-01 01:36:25 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2012-08-01 01:36:25 +0500 |
commit | 87daf634cdc6faaddc812500e427e9791128fb4d (patch) | |
tree | f4273702399f654601f62df1a7f5d172e12c92de /plugins/muc | |
parent | 79e3b83332033b221938a50763e293fd920ad76d (diff) | |
download | prosody-87daf634cdc6faaddc812500e427e9791128fb4d.tar.gz prosody-87daf634cdc6faaddc812500e427e9791128fb4d.zip |
MUC: Expose room metatable in the MUC lib.
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
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; |