Software /
code /
prosody
Changeset
9229:1338b84c0566
mod_version: Remove redundant
What else would @to be in a iq/host event?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 24 Aug 2018 21:04:27 +0200 |
parents | 9228:e2e2aa76ea31 |
children | 9230:711fea229e48 |
files | plugins/mod_version.lua |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_version.lua Fri Aug 24 20:36:06 2018 +0200 +++ b/plugins/mod_version.lua Fri Aug 24 21:04:27 2018 +0200 @@ -41,8 +41,6 @@ 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);