]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socket.cpp
Fix the 'w' extban not being added to the EXTBAN 005 numeric.
[user/henk/code/inspircd.git] / src / socket.cpp
index 78b7f2de92214b85731ac6664081f589f26cbad2..a6bfcdb2e33a1b9d651b22ecd78d45e7c4b81351 100644 (file)
@@ -2,8 +2,8 @@
  * InspIRCd -- Internet Relay Chat Daemon
  *
  *   Copyright (C) 2019 linuxdaemon <linuxdaemon.irc@gmail.com>
- *   Copyright (C) 2014 Attila Molnar <attilamolnar@hush.com>
- *   Copyright (C) 2013, 2017-2020 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2013-2014 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2013, 2017-2021 Sadie Powell <sadie@witchery.services>
  *   Copyright (C) 2013 Daniel Vassdal <shutter@canternet.org>
  *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
  *   Copyright (C) 2009-2011 Daniel De Graaf <danieldg@inspircd.org>
@@ -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;