Software /
code /
prosody
Diff
plugins/mod_version.lua @ 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 |
parent | 9227:c0e058633d9a |
child | 9433:13b8d47119ad |
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);