diff options
-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 = {}; |