diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-08-06 17:18:39 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-08-06 17:18:39 +0100 |
commit | 5b350ae8c023aa2c67edc12cb833fd650c74c689 (patch) | |
tree | 1240097db33b35bf5ee09364e89b393936d28c51 /plugins | |
parent | f7a578448d0cea606826686eb891c8283fee714c (diff) | |
download | prosody-5b350ae8c023aa2c67edc12cb833fd650c74c689.tar.gz prosody-5b350ae8c023aa2c67edc12cb833fd650c74c689.zip |
mod_disco: Check for host type == 'local' ('normal' never existed)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_disco.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |