aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-06-19 23:39:29 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-06-19 23:39:29 +0500
commit162c4760b69140c91f897b4893a84722b817eb47 (patch)
tree38c20ed8e469c7dcb90f256d67ac82b1e90a70d7
parentf9086ab736629174376ecb5bf13843407e5530b0 (diff)
downloadprosody-162c4760b69140c91f897b4893a84722b817eb47.tar.gz
prosody-162c4760b69140c91f897b4893a84722b817eb47.zip
MUC: A little modification to improve code analysis.
-rw-r--r--plugins/muc/muc.lib.lua5
1 files changed, 4 insertions, 1 deletions
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