summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-03 20:18:24 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-03 20:18:24 +0000
commit4595f6844255106a66140828ffb9328860b62411 (patch)
treee56a202cd98464e8deed56a0f126a949fafba3d9
parent87f93e8511b373154dc0178137d701b5d6cfb669 (diff)
downloadlibbu++-4595f6844255106a66140828ffb9328860b62411.tar.gz
libbu++-4595f6844255106a66140828ffb9328860b62411.tar.bz2
libbu++-4595f6844255106a66140828ffb9328860b62411.tar.xz
libbu++-4595f6844255106a66140828ffb9328860b62411.zip
Fixed a horrible bug that broke all the servers, and clients.
-rw-r--r--src/connectionmanager.cpp2
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