Software /
code /
prosody
Diff
plugins/mod_disco.lua @ 4985:0f72123ff513
mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 23 Jul 2012 12:25:33 +0100 |
parent | 4337:a2ee8ab82dd9 |
child | 5081:c0c060e450be |
line wrap: on
line diff
--- 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");