From cc28ba0f2164ea68db1bc373ee06fc58f82c3314 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 20 Jan 2021 11:50:41 +0000 Subject: Make the UNIX socket listener path relative to the runtime path. This is not a breaking change because unless the runtime path is explicitly set it defaults to the same as the data path. --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.cpp b/src/socket.cpp index 78b7f2de9..37d0fb73b 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -105,7 +105,7 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) if (!path.empty()) { // Expand the path relative to the config directory. - const std::string fullpath = ServerInstance->Config->Paths.PrependData(path); + const std::string fullpath = ServerInstance->Config->Paths.PrependRuntime(path); // UNIX socket paths are length limited to less than PATH_MAX. irc::sockets::sockaddrs bindspec; -- cgit v1.2.3