# HG changeset patch # User Waqas Hussain # Date 1276972769 -18000 # Node ID fd6ab269ecc28a1b5012d26f666c69b12fcc8747 # Parent eef4f31f2d7be6f67d0d266a1c2727a984ea1f73 MUC: A little modification to improve code analysis. diff -r eef4f31f2d7b -r fd6ab269ecc2 plugins/muc/muc.lib.lua --- 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