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 | 96466999c175612fd341819695f473f4b019ea0c (patch) | |
tree | 1240097db33b35bf5ee09364e89b393936d28c51 | |
parent | c8e0c8a63bd2e0a7604c4bb5a637287e7ddffc25 (diff) | |
download | prosody-96466999c175612fd341819695f473f4b019ea0c.tar.gz prosody-96466999c175612fd341819695f473f4b019ea0c.zip |
mod_disco: Check for host type == 'local' ('normal' never existed)
-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"); |