diff options
author | Sadie Powell <sadie@witchery.services> | 2021-01-20 11:50:41 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-01-20 11:54:13 +0000 |
commit | cc28ba0f2164ea68db1bc373ee06fc58f82c3314 (patch) | |
tree | eda6fd8512689ff9bb8eef1e6dd19927c44ba305 /src/socket.cpp | |
parent | a601cf2f0d9754e4bb11a28ce8954a86ad4e367e (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/socket.cpp')
-rw-r--r-- | src/socket.cpp | 2 |
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; |