diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-07-07 17:39:56 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-07-07 17:39:56 +0100 |
commit | 434b71bc6f4420b5af32fd085d5d13ac64d3e6f8 (patch) | |
tree | 604e850385bbf85fe2d76f3d8a8dfa246b04bf54 /plugins | |
parent | ff7b482c6d6005acde8da8a6d586f95fd477a555 (diff) | |
download | prosody-434b71bc6f4420b5af32fd085d5d13ac64d3e6f8.tar.gz prosody-434b71bc6f4420b5af32fd085d5d13ac64d3e6f8.zip |
mod_storage_sql2: Rename variable to avoid name clash
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_sql2.lua | 4 |
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 |