Diff

plugins/muc/muc.lib.lua @ 1749:cf2ade983e12

MUC: Changed a MUC library method into a function.
author Waqas Hussain <waqas20@gmail.com>
date Mon, 07 Sep 2009 20:40:11 +0500
parent 1746:3c60081ca10a
child 1750:a1c18470eeee
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Mon Sep 07 20:39:05 2009 +0500
+++ b/plugins/muc/muc.lib.lua	Mon Sep 07 20:40:11 2009 +0500
@@ -515,7 +515,7 @@
 
 local _M = {}; -- module "muc"
 
-function _M:new_room(jid)
+function _M.new_room(jid)
 	return setmetatable({
 		jid = jid;
 		_jid_nick = {};