From 162c4760b69140c91f897b4893a84722b817eb47 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sat, 19 Jun 2010 23:39:29 +0500 Subject: MUC: A little modification to improve code analysis. --- plugins/muc/muc.lib.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 1bbd1474..6dfc6bb9 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -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 @@ function room_mt:process_form(origin, stanza) 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 -- cgit v1.2.3