X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_disco.lua;h=617495801e37497794c500699745d309fc108b18;hb=4586c8a7bcb1d8913ea40005acc41f4205cbf878;hp=06a4bb1e53cad8361fd7b97f1adaabc485d80236;hpb=819143bb5cd3cae600e0c0bb467c5b2c515a7e01;p=prosody.git diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua index 06a4bb1e..61749580 100644 --- a/plugins/mod_disco.lua +++ b/plugins/mod_disco.lua @@ -1,7 +1,7 @@ -- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain --- +-- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- @@ -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");