mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
moduleapi: Rename argument to silence luacheck
This commit is contained in:
parent
7e181e31e0
commit
38742f7b50
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue