aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_disco.lua
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
commit96466999c175612fd341819695f473f4b019ea0c (patch)
tree1240097db33b35bf5ee09364e89b393936d28c51 /plugins/mod_disco.lua
parentc8e0c8a63bd2e0a7604c4bb5a637287e7ddffc25 (diff)
downloadprosody-96466999c175612fd341819695f473f4b019ea0c.tar.gz
prosody-96466999c175612fd341819695f473f4b019ea0c.zip
mod_disco: Check for host type == 'local' ('normal' never existed)
Diffstat (limited to 'plugins/mod_disco.lua')
-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");