From 96466999c175612fd341819695f473f4b019ea0c Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 6 Aug 2013 17:18:39 +0100 Subject: mod_disco: Check for host type == 'local' ('normal' never existed) --- plugins/mod_disco.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_disco.lua') diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua index 06a4bb1e..85a544f9 100644 --- a/plugins/mod_disco.lua +++ b/plugins/mod_disco.lua @@ -32,7 +32,7 @@ do -- validate disco_items end end -if module:get_host_type() == "normal" then +if module:get_host_type() == "local" then module:add_identity("server", "im", module:get_option_string("name", "Prosody")); -- FIXME should be in the non-existing mod_router end module:add_feature("http://jabber.org/protocol/disco#info"); -- cgit v1.2.3