Software /
code /
prosody
Changeset
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 |
parents | 4984:724848dfde36 |
children | 4986:9da430b69f13 |
files | plugins/mod_disco.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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");