diff options
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 0e3cf3543..c02345fe9 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -355,7 +355,7 @@ int InspIRCd::BindPorts(bool, int &ports_found, FailedPortList &failed_ports) } else { - failed_ports.push_back(std::make_pair(Addr + portno, strerror(errno))); + failed_ports.push_back(std::make_pair((*Addr ? Addr : "*") + std::string(":") + ConvToStr(portno), strerror(errno))); } ports_found++; } |