Changeset

5772:9cef4b5c2fe3

mod_disco: Check for host type == 'local' ('normal' never existed)
author Matthew Wild <mwild1@gmail.com>
date Tue, 06 Aug 2013 17:18:39 +0100
parents 5771:c4ed6680bf8d
children 5773:c9a712673d8a
files plugins/mod_disco.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");