From 765e30772e8711945e87d38bffac243732a83887 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 28 Nov 2010 07:56:08 +0500 Subject: [PATCH] mod_disco: Fixed: Service discovery features were not being removed on module unload (issue #205). --- plugins/mod_disco.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua index 907ca753..9bef6295 100644 --- a/plugins/mod_disco.lua +++ b/plugins/mod_disco.lua @@ -115,9 +115,7 @@ end); -- Handle caps stream feature module:hook("stream-features", function (event) - if event.origin.type == "c2s" then - event.features:add_child(get_server_caps_feature()); - end + event.features:add_child(get_server_caps_feature()); end); -- Handle disco requests to user accounts -- 2.30.2