aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
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
commit38742f7b507df3687d7d068ff620611a84d874ca (patch)
tree19901a99ac7ad36b1cca46e65dc3033593dfc7e8 /core/moduleapi.lua
parent7e181e31e0fdce18e0ce326f612edb2e9428fc13 (diff)
downloadprosody-38742f7b507df3687d7d068ff620611a84d874ca.tar.gz
prosody-38742f7b507df3687d7d068ff620611a84d874ca.zip
moduleapi: Rename argument to silence luacheck
Diffstat (limited to 'core/moduleapi.lua')
-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];