diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-24 21:04:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-24 21:04:27 +0200 |
commit | ea53be2d5249c1568eccaedead11a29edc44c7d9 (patch) | |
tree | 421bf77f1fa119141f885c50fb052adfd3955293 /plugins/mod_version.lua | |
parent | 509755ea3fad8724b519459808f1b563b786f853 (diff) | |
download | prosody-ea53be2d5249c1568eccaedead11a29edc44c7d9.tar.gz prosody-ea53be2d5249c1568eccaedead11a29edc44c7d9.zip |
mod_version: Remove redundant
What else would @to be in a iq/host event?
Diffstat (limited to 'plugins/mod_version.lua')
-rw-r--r-- | plugins/mod_version.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/mod_version.lua b/plugins/mod_version.lua index e0d1def7..2603283a 100644 --- a/plugins/mod_version.lua +++ b/plugins/mod_version.lua @@ -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); |