aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-23 12:25:33 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-23 12:25:33 +0100
commitafa2afb5d642a2530d98af24375ff50413edefb2 (patch)
tree6f5e16d509474c2b96d8b8021a7435a947d828d6 /plugins
parente5d520f448dc3e6a2aa9e148031f00c8cee0d4fc (diff)
downloadprosody-afa2afb5d642a2530d98af24375ff50413edefb2.tar.gz
prosody-afa2afb5d642a2530d98af24375ff50413edefb2.zip
mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_disco.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua
index c3a9c54d..6587d435 100644
--- a/plugins/mod_disco.lua
+++ b/plugins/mod_disco.lua
@@ -32,7 +32,7 @@ do -- validate disco_items
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");