]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socket.cpp
Jason, try this..
[user/henk/code/inspircd.git] / src / socket.cpp
index 1fd4d4443a571470c8838c73301c6e6895166011..a599631a40e02f6c506cdd4a49ac1ec1f1505688 100644 (file)
@@ -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))