aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_disco.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-12-15 13:24:53 +0100
committerKim Alvefur <zash@zash.se>2016-12-15 13:24:53 +0100
commite920776f1d7ab7e0ea1e5d9eadbc7041cac38334 (patch)
tree799d47e674fd2b55dfc2e58692cf95b21f96a611 /plugins/mod_disco.lua
parent90de22b946faec770a3acffb6b7744f4f6f9f9b0 (diff)
parentaedd689b72629139390f23f4fbd002307d3a0fec (diff)
downloadprosody-e920776f1d7ab7e0ea1e5d9eadbc7041cac38334.tar.gz
prosody-e920776f1d7ab7e0ea1e5d9eadbc7041cac38334.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_disco.lua')
-rw-r--r--plugins/mod_disco.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua
index 61749580..c9d4a9df 100644
--- a/plugins/mod_disco.lua
+++ b/plugins/mod_disco.lua
@@ -148,7 +148,7 @@ end);
-- Handle caps stream feature
module:hook("stream-features", function (event)
- if event.origin.type == "c2s" then
+ if event.origin.type == "c2s" or event.origin.type == "c2s_unauthed" then
event.features:add_child(get_server_caps_feature());
end
end);