aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-08-06 17:18:39 +0100
committerMatthew Wild <mwild1@gmail.com>2013-08-06 17:18:39 +0100
commit5b350ae8c023aa2c67edc12cb833fd650c74c689 (patch)
tree1240097db33b35bf5ee09364e89b393936d28c51
parentf7a578448d0cea606826686eb891c8283fee714c (diff)
downloadprosody-5b350ae8c023aa2c67edc12cb833fd650c74c689.tar.gz
prosody-5b350ae8c023aa2c67edc12cb833fd650c74c689.zip
mod_disco: Check for host type == 'local' ('normal' never existed)
-rw-r--r--plugins/mod_disco.lua2
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");