summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-01-20 11:50:41 +0000
committerSadie Powell <sadie@witchery.services>2021-01-20 11:54:13 +0000
commitcc28ba0f2164ea68db1bc373ee06fc58f82c3314 (patch)
treeeda6fd8512689ff9bb8eef1e6dd19927c44ba305 /src
parenta601cf2f0d9754e4bb11a28ce8954a86ad4e367e (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
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;