X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=plugins%2Fmod_disco.lua;h=617495801e37497794c500699745d309fc108b18;hb=58d634df879edfff9ca94a56567736e67ecbad0e;hp=06a4bb1e53cad8361fd7b97f1adaabc485d80236;hpb=ecd2e6962f8993af96ffa869659f7949e64054ae;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");