mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
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.
This commit is contained in:
parent
a601cf2f0d
commit
cc28ba0f21
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user