Changeset

7788:cf1d7e35a160

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 15 Dec 2016 13:24:53 +0100
parents 7786:b62353e6a8e5 (current diff) 7787:200f1f6306a7 (diff)
children 7791:8efd51667622
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_disco.lua	Wed Dec 14 01:47:19 2016 +0100
+++ b/plugins/mod_disco.lua	Thu Dec 15 13:24:53 2016 +0100
@@ -148,7 +148,7 @@
 
 -- 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);