diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-05-30 21:40:00 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-05-30 21:40:00 +0100 |
commit | 1631718aece40346c43de30d6b6e21f914a96154 (patch) | |
tree | 3235994b414943a51a3bd119095af21bc4ad8c51 /plugins | |
parent | c5a2a6eda354b5eedd8e437bb334df1c15de48e7 (diff) | |
parent | 0fd614dbab5caba118f3037f94e3beb8472c1a97 (diff) | |
download | prosody-1631718aece40346c43de30d6b6e21f914a96154.tar.gz prosody-1631718aece40346c43de30d6b6e21f914a96154.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_disco.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua index cd07934f..6d3e7753 100644 --- a/plugins/mod_disco.lua +++ b/plugins/mod_disco.lua @@ -154,6 +154,7 @@ module:hook("stream-features", function (event) end); -- Handle disco requests to user accounts +if module:get_host_type() ~= "local" then return end -- skip for components module:hook("iq/bare/http://jabber.org/protocol/disco#info:query", function(event) local origin, stanza = event.origin, event.stanza; if stanza.attr.type ~= "get" then return; end |