aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_admin_socket.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_socket.lua b/plugins/mod_admin_socket.lua
index 2085c5b0..b197adae 100644
--- a/plugins/mod_admin_socket.lua
+++ b/plugins/mod_admin_socket.lua
@@ -11,7 +11,7 @@ local server = require "net.server";
local adminstream = require "util.adminstream";
-local socket_path = module:get_option_string("admin_socket", prosody.paths.data.."/prosody.sock");
+local socket_path = module:get_option_path("admin_socket", "prosody.sock", "data");
local sessions = module:shared("sessions");