]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socket.cpp
Add <hostchange:ports> to the m_hostchange module to implement feature in bug #363
[user/henk/code/inspircd.git] / src / socket.cpp
index 03477645b2a5eca10bd1ae29fc399796fb1a07f3..b28414d4a7960073cc605f3e1d05d12f147ac7c9 100644 (file)
@@ -85,6 +85,8 @@ void ListenSocket::HandleEvent(EventType et, int errornum)
                length = sizeof(sockaddr_in);
        }
 
+       void* m_acceptEvent = NULL;
+       GetExt("windows_acceptevent", m_acceptEvent);
        incomingSockfd = _accept (this->GetFd(), (sockaddr*)client, &length);
 
        if ((incomingSockfd > -1) && (!_getsockname(incomingSockfd, sock_us, &uslen)))