diff options
-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 1fd4d4443..a599631a4 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -25,7 +25,7 @@ sockaddr* ListenSocket::raddr = NULL; ListenSocket::ListenSocket(InspIRCd* Instance, int port, char* addr) : ServerInstance(Instance), desc("plaintext"), bind_addr(addr), bind_port(port) { - this->SetFd(OpenTCPSocket(addr)); + this->SetFd(irc::sockets::OpenTCPSocket(addr)); if (this->GetFd() > -1) { if (!Instance->BindSocket(this->fd,port,addr)) |