diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-09-07 20:40:11 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-09-07 20:40:11 +0500 |
commit | f82a33e4f5a92516f11ed48e46efd2414c737ebb (patch) | |
tree | 3757c4546d62d7210e41e6f8ae5eb34077604718 /plugins/muc/muc.lib.lua | |
parent | 18d3374dca640aaa3bb223f1a93305dc44de10f4 (diff) | |
download | prosody-f82a33e4f5a92516f11ed48e46efd2414c737ebb.tar.gz prosody-f82a33e4f5a92516f11ed48e46efd2414c737ebb.zip |
MUC: Changed a MUC library method into a function.
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index bc38ae9c..832e36de 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -515,7 +515,7 @@ end local _M = {}; -- module "muc" -function _M:new_room(jid) +function _M.new_room(jid) return setmetatable({ jid = jid; _jid_nick = {}; |