mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
mod_version: Remove redundant
What else would @to be in a iq/host event?
This commit is contained in:
parent
2dc6f58f0d
commit
bce7e2dbb9
1 changed files with 2 additions and 4 deletions
|
@ -41,8 +41,6 @@ end
|
||||||
|
|
||||||
module:hook("iq-get/host/jabber:iq:version:query", function(event)
|
module:hook("iq-get/host/jabber:iq:version:query", function(event)
|
||||||
local stanza = event.stanza;
|
local stanza = event.stanza;
|
||||||
if stanza.attr.to == module.host then
|
|
||||||
event.origin.send(st.reply(stanza):add_child(query));
|
event.origin.send(st.reply(stanza):add_child(query));
|
||||||
return true;
|
return true;
|
||||||
end
|
|
||||||
end);
|
end);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue