aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql2.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-07-07 17:39:56 +0100
committerMatthew Wild <mwild1@gmail.com>2015-07-07 17:39:56 +0100
commit434b71bc6f4420b5af32fd085d5d13ac64d3e6f8 (patch)
tree604e850385bbf85fe2d76f3d8a8dfa246b04bf54 /plugins/mod_storage_sql2.lua
parentff7b482c6d6005acde8da8a6d586f95fd477a555 (diff)
downloadprosody-434b71bc6f4420b5af32fd085d5d13ac64d3e6f8.tar.gz
prosody-434b71bc6f4420b5af32fd085d5d13ac64d3e6f8.zip
mod_storage_sql2: Rename variable to avoid name clash
Diffstat (limited to 'plugins/mod_storage_sql2.lua')
-rw-r--r--plugins/mod_storage_sql2.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua
index 10a16743..bba27748 100644
--- a/plugins/mod_storage_sql2.lua
+++ b/plugins/mod_storage_sql2.lua
@@ -13,8 +13,8 @@ local function is_stanza(x) return getmetatable(x) == stanza_mt; end
local noop = function() end
local unpack = unpack
local function iterator(result)
- return function(result)
- local row = result();
+ return function(result_)
+ local row = result_();
if row ~= nil then
return unpack(row);
end