# HG changeset patch # User Matthew Wild # Date 1375805919 -3600 # Node ID 9cef4b5c2fe32552cf305bf6668f8a24063bd098 # Parent c4ed6680bf8d39eb2a71563d5c14ae00256d30d1 mod_disco: Check for host type == 'local' ('normal' never existed) diff -r c4ed6680bf8d -r 9cef4b5c2fe3 plugins/mod_disco.lua --- a/plugins/mod_disco.lua Tue Aug 06 17:17:23 2013 +0100 +++ b/plugins/mod_disco.lua Tue Aug 06 17:18:39 2013 +0100 @@ -32,7 +32,7 @@ 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");