# HG changeset patch # User Matthew Wild # Date 1343042733 -3600 # Node ID 0f72123ff513cd051053adea5ef9e8a6dcd5a2b8 # Parent 724848dfde36900ab7a62835c7cebf09041f703b mod_disco: Allow configurable name in disco identity (defaults to 'Prosody') diff -r 724848dfde36 -r 0f72123ff513 plugins/mod_disco.lua --- a/plugins/mod_disco.lua Sun Jul 22 23:45:53 2012 +0100 +++ b/plugins/mod_disco.lua Mon Jul 23 12:25:33 2012 +0100 @@ -32,7 +32,7 @@ end end -module:add_identity("server", "im", "Prosody"); -- FIXME should be in the non-existing mod_router +module:add_identity("server", "im", module:get_option_string("name", "Prosody")); -- FIXME should be in the non-existing mod_router module:add_feature("http://jabber.org/protocol/disco#info"); module:add_feature("http://jabber.org/protocol/disco#items");