Merge 0.10->trunk
[prosody.git] / plugins / mod_disco.lua
index 06a4bb1e53cad8361fd7b97f1adaabc485d80236..617495801e37497794c500699745d309fc108b18 100644 (file)
@@ -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");