diff options
author | Mattes D <github@xoft.cz> | 2015-01-22 13:00:32 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-22 20:13:06 +0100 |
commit | dbf7f13bd414daea5e787da2543df186dc465c34 (patch) | |
tree | c6ca36fcd22b422b89222a8c29beb046e70b4de6 /src/OSSupport/ServerHandleImpl.cpp | |
parent | cNetwork: Changed listening API. (diff) | |
download | cuberite-dbf7f13bd414daea5e787da2543df186dc465c34.tar cuberite-dbf7f13bd414daea5e787da2543df186dc465c34.tar.gz cuberite-dbf7f13bd414daea5e787da2543df186dc465c34.tar.bz2 cuberite-dbf7f13bd414daea5e787da2543df186dc465c34.tar.lz cuberite-dbf7f13bd414daea5e787da2543df186dc465c34.tar.xz cuberite-dbf7f13bd414daea5e787da2543df186dc465c34.tar.zst cuberite-dbf7f13bd414daea5e787da2543df186dc465c34.zip |
Diffstat (limited to 'src/OSSupport/ServerHandleImpl.cpp')
-rw-r--r-- | src/OSSupport/ServerHandleImpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/OSSupport/ServerHandleImpl.cpp b/src/OSSupport/ServerHandleImpl.cpp index 82cbecef2..026c0fdc1 100644 --- a/src/OSSupport/ServerHandleImpl.cpp +++ b/src/OSSupport/ServerHandleImpl.cpp @@ -283,6 +283,8 @@ void cServerHandleImpl::Callback(evconnlistener * a_Listener, evutil_socket_t a_ cCSLock Lock(Self->m_CS); Self->m_Connections.push_back(Link); } // Lock(m_CS) + LinkCallbacks->OnLinkCreated(Link); + Link->Enable(); // Call the OnAccepted callback: Self->m_ListenCallbacks->OnAccepted(*Link); |