comparison mod_proxy65_whitelist/mod_proxy65_whitelist.lua @ 2350:67990e045d4f

mod_proxy65_whitelist: Remove unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Mon, 07 Nov 2016 17:35:21 +0100
parents 48686b399a88
children f96b947303a2
comparison
equal deleted inserted replaced
2349:48686b399a88 2350:67990e045d4f
20 end 20 end
21 return tag; 21 return tag;
22 end 22 end
23 23
24 module:hook("iq/full", function (event) 24 module:hook("iq/full", function (event)
25 local stanza, origin = event.stanza, event.origin; 25 local stanza = event.stanza;
26 if stanza.attr.type == "set" then 26 if stanza.attr.type == "set" then
27 local payload = stanza:get_child("query", "http://jabber.org/protocol/bytestreams"); 27 local payload = stanza:get_child("query", "http://jabber.org/protocol/bytestreams");
28 if payload then 28 if payload then
29 payload:maptags(filter_streamhosts); 29 payload:maptags(filter_streamhosts);
30 end 30 end