Software /
code /
prosody
Changeset
10706:0230ceecb8a9
moduleapi: Rename argument to silence luacheck
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Apr 2020 22:32:50 +0200 |
parents | 10705:2cffb5ce9f7a |
children | 10708:6119e4f87c32 |
files | core/moduleapi.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/core/moduleapi.lua Sun Mar 22 22:32:26 2020 +0100 +++ b/core/moduleapi.lua Wed Apr 01 22:32:50 2020 +0200 @@ -438,8 +438,8 @@ 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];