aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_version.lua6
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);