diff options
| author | 2022-04-30 16:11:41 +0100 | |
|---|---|---|
| committer | 2022-04-30 16:26:31 +0100 | |
| commit | 0e83e7997407b146a44a329dcd0a5c5249297a5c (patch) | |
| tree | 811e6f61bd88a6e2f8fd15befd0a4236d0f02d79 /src/socket.cpp | |
| parent | Kill an obsolete include. (diff) | |
Enable support for UNIX socket listeners on Windows.
Diffstat (limited to 'src/socket.cpp')
| -rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 8fde965bb..a48b3e257 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -96,7 +96,6 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) continue; } -#ifndef _WIN32 // Are we creating a UNIX listener? const std::string path = tag->getString("path"); if (!path.empty()) @@ -127,7 +126,6 @@ size_t InspIRCd::BindPorts(FailedPortList& failed_ports) else bound++; } -#endif } std::vector<ListenSocket*>::iterator n = ports.begin(); |
