# HG changeset patch # User Kim Alvefur # Date 1585773170 -7200 # Node ID 0230ceecb8a9043ba0a90d6bd43fc7fd36968aba # Parent 2cffb5ce9f7a629a612f01bad4327f7640bad49f moduleapi: Rename argument to silence luacheck diff -r 2cffb5ce9f7a -r 0230ceecb8a9 core/moduleapi.lua --- 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];