From 4595f6844255106a66140828ffb9328860b62411 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 3 Nov 2006 20:18:24 +0000 Subject: Fixed a horrible bug that broke all the servers, and clients. --- src/connectionmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/connectionmanager.cpp b/src/connectionmanager.cpp index a927092..f674c99 100644 --- a/src/connectionmanager.cpp +++ b/src/connectionmanager.cpp @@ -319,6 +319,8 @@ bool ConnectionManager::addConnection( int nSocket ) pCon->open( newSocket ); pMonitor->onNewConnection( pCon, (*sMasterSocket.find(nSocket)).second ); + if( pCon->getProtocol() ) + pCon->getProtocol()->onNewConnection(); lActive.insert( lActive.end(), pCon ); -- cgit v1.2.3