mod_version: Remove redundant

What else would @to be in a iq/host event?
This commit is contained in:
Kim Alvefur 2018-08-24 21:04:27 +02:00
parent 2dc6f58f0d
commit bce7e2dbb9

View file

@ -41,8 +41,6 @@ end
module:hook("iq-get/host/jabber:iq:version:query", function(event)
local stanza = event.stanza;
if stanza.attr.to == module.host then
event.origin.send(st.reply(stanza):add_child(query));
return true;
end
event.origin.send(st.reply(stanza):add_child(query));
return true;
end);