mod_disco: Check for host type == 'local' ('normal' never existed)
authorMatthew Wild <mwild1@gmail.com>
Tue, 06 Aug 2013 17:18:39 +0100
changeset 5772 9cef4b5c2fe3
parent 5771 c4ed6680bf8d
child 5773 c9a712673d8a
mod_disco: Check for host type == 'local' ('normal' never existed)
plugins/mod_disco.lua
--- a/plugins/mod_disco.lua	Tue Aug 06 17:17:23 2013 +0100
+++ b/plugins/mod_disco.lua	Tue Aug 06 17:18:39 2013 +0100
@@ -32,7 +32,7 @@
 	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");