plugins/mod_disco.lua
changeset 8191 8c524b7c9017
parent 8159 745e0a783055
child 8837 b0093d3b2d04
--- a/plugins/mod_disco.lua	Fri Jul 21 00:07:34 2017 +0200
+++ b/plugins/mod_disco.lua	Thu Jul 27 14:10:18 2017 +0200
@@ -148,7 +148,7 @@
 
 -- Handle caps stream feature
 module:hook("stream-features", function (event)
-	if event.origin.type == "c2s" or event.origin.type == "c2s_unauthed" then
+	if event.origin.type == "c2s" or event.origin.type == "c2s_unbound" then
 		event.features:add_child(get_server_caps_feature());
 	end
 end);