diff options
-rw-r--r-- | src/connectionmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) | |||
319 | pCon->open( newSocket ); | 319 | pCon->open( newSocket ); |
320 | 320 | ||
321 | pMonitor->onNewConnection( pCon, (*sMasterSocket.find(nSocket)).second ); | 321 | pMonitor->onNewConnection( pCon, (*sMasterSocket.find(nSocket)).second ); |
322 | if( pCon->getProtocol() ) | ||
323 | pCon->getProtocol()->onNewConnection(); | ||
322 | 324 | ||
323 | lActive.insert( lActive.end(), pCon ); | 325 | lActive.insert( lActive.end(), pCon ); |
324 | 326 | ||