]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socket.cpp
Make the UNIX socket listener path relative to the runtime path.
[user/henk/code/inspircd.git] / src / socket.cpp
index 78b7f2de92214b85731ac6664081f589f26cbad2..37d0fb73bef71eb9c7ab9a521dc6e44528d4df08 100644 (file)
@@ -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;