aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-09-07 20:40:11 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-09-07 20:40:11 +0500
commitf82a33e4f5a92516f11ed48e46efd2414c737ebb (patch)
tree3757c4546d62d7210e41e6f8ae5eb34077604718
parent18d3374dca640aaa3bb223f1a93305dc44de10f4 (diff)
downloadprosody-f82a33e4f5a92516f11ed48e46efd2414c737ebb.tar.gz
prosody-f82a33e4f5a92516f11ed48e46efd2414c737ebb.zip
MUC: Changed a MUC library method into a function.
-rw-r--r--plugins/muc/muc.lib.lua2
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 = {};