X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsocket.cpp;h=a599631a40e02f6c506cdd4a49ac1ec1f1505688;hb=0bed81e9d70ad2124f258303cd729f9bb2d02a84;hp=1fd4d4443a571470c8838c73301c6e6895166011;hpb=02bbbd0cdf44d2f745008db876db574ce41b768d;p=user%2Fhenk%2Fcode%2Finspircd.git 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))