aboutsummaryrefslogtreecommitdiffstats
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
commit8b103580ec6f6d75fb91d6612abfe5fdda8acf90 (patch)
tree6f5e16d509474c2b96d8b8021a7435a947d828d6
parent8a79164f2b9532f912023d343b2d9f0c11dd4b50 (diff)
downloadprosody-8b103580ec6f6d75fb91d6612abfe5fdda8acf90.tar.gz
prosody-8b103580ec6f6d75fb91d6612abfe5fdda8acf90.zip
mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')
-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");