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
commit254bb34415290bbd60ae94d548fc541c63116115 (patch)
tree604e850385bbf85fe2d76f3d8a8dfa246b04bf54 /plugins/mod_storage_sql2.lua
parent25feb052b2a14ec1f3a8b89f0c244b43daefc485 (diff)
downloadprosody-254bb34415290bbd60ae94d548fc541c63116115.tar.gz
prosody-254bb34415290bbd60ae94d548fc541c63116115.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