Software /
code /
prosody
Diff
plugins/mod_disco.lua @ 5772:9cef4b5c2fe3
mod_disco: Check for host type == 'local' ('normal' never existed)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 06 Aug 2013 17:18:39 +0100 |
parent | 5689:832ea1e9ac9e |
child | 5776:bd0ff8ae98a8 |
line wrap: on
line diff
--- 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");