Changeset

3281:fd6ab269ecc2

MUC: A little modification to improve code analysis.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 19 Jun 2010 23:39:29 +0500
parents 3280:eef4f31f2d7b
children 3282:8ef3beed0779
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Sat Jun 19 23:38:25 2010 +0500
+++ b/plugins/muc/muc.lib.lua	Sat Jun 19 23:39:29 2010 +0500
@@ -6,6 +6,9 @@
 -- COPYING file in the source package for more information.
 --
 
+local select = select;
+local pairs, ipairs = pairs, ipairs;
+
 local datamanager = require "util.datamanager";
 local datetime = require "util.datetime";
 
@@ -573,7 +576,7 @@
 	end
 	local whois_changed = self._data.whois ~= whois
 	self._data.whois = whois
-	module:log('debug', 'whois=%s', tostring(whois))
+	module:log('debug', 'whois=%s', whois)
 
 	local password = fields['muc#roomconfig_roomsecret'];
 	if password then