aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-01 22:32:50 +0200
committerKim Alvefur <zash@zash.se>2020-04-01 22:32:50 +0200
commitd4c500cb06a9f7669cd33f86c8ea1753c74fe514 (patch)
tree19901a99ac7ad36b1cca46e65dc3033593dfc7e8
parentad142872d43a94c419cffe4f8dbc37a19cd34d33 (diff)
downloadprosody-d4c500cb06a9f7669cd33f86c8ea1753c74fe514.tar.gz
prosody-d4c500cb06a9f7669cd33f86c8ea1753c74fe514.zip
moduleapi: Rename argument to silence luacheck
-rw-r--r--core/moduleapi.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index 71239a0c..021db4c8 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -438,8 +438,8 @@ function api:send_iq(stanza, origin, timeout)
local wrapped_origin = setmetatable({
-- XXX Needed in some cases for replies to work correctly when sending queries internally.
- send = function (stanza)
- resolve({ stanza = stanza });
+ send = function (reply)
+ resolve({ stanza = reply });
end;
}, {
__index = origin or hosts[self.host];