# HG changeset patch # User Kim Alvefur # Date 1390155732 -3600 # Node ID 42625801d15a58c592718759298dace39fdddbb7 # Parent 2118a2eeb1d505785a445381e078f00a2e3d6f4c mod_service_directories: Respect the 'name' option (Thanks Thomas) diff -r 2118a2eeb1d5 -r 42625801d15a mod_service_directories/mod_service_directories.lua --- a/mod_service_directories/mod_service_directories.lua Sat Jan 18 21:16:27 2014 +0100 +++ b/mod_service_directories/mod_service_directories.lua Sun Jan 19 19:22:12 2014 +0100 @@ -26,7 +26,7 @@ -- Advertise in disco -module:add_identity("server", "directory", "Prosody"); +module:add_identity("server", "directory", module:get_option_string("name", "Prosody")); module:add_feature("urn:xmpp:server-presence"); -- Handle subscriptions