From 1438a3884507b709cba08691d329b0cf137f4bd4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 10 Nov 2017 05:42:32 +0100 Subject: util: Various minor changes to please [luacheck] --- util/stanza.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'util/stanza.lua') diff --git a/util/stanza.lua b/util/stanza.lua index 651c1973..8dcbe1d2 100644 --- a/util/stanza.lua +++ b/util/stanza.lua @@ -367,7 +367,13 @@ local function iq(attr) end local function reply(orig) - return new_stanza(orig.name, orig.attr and { to = orig.attr.from, from = orig.attr.to, id = orig.attr.id, type = ((orig.name == "iq" and "result") or orig.attr.type) }); + return new_stanza(orig.name, + orig.attr and { + to = orig.attr.from, + from = orig.attr.to, + id = orig.attr.id, + type = ((orig.name == "iq" and "result") or orig.attr.type) + }); end local xmpp_stanzas_attr = { xmlns = xmlns_stanzas }; -- cgit v1.2.3