Changeset

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 (2009-09-07)
parents 1748:f4c50c75af6f
children 1750:a1c18470eeee
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 = {};