Changeset 9489 in orxonox.OLD for branches/proxy/src/lib/network
- Timestamp:
- Jul 26, 2006, 11:38:04 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/network_stream.cc
r9485 r9489 502 502 503 503 // check if the connecting client should reconnect to a proxy server 504 peers[userId].handshake->setRedirect(this->networkMonitor->isReconnectNextClient()); 504 if( SharedNetworkData::getInstance()->isMasterServer()) 505 peers[userId].handshake->setRedirect(this->networkMonitor->isReconnectNextClient()); 505 506 506 507 // the connecting node of course is a client … … 596 597 597 598 // now check if the server accepted the connection 598 if( it->second.handshake->redirect() )599 if( SharedNetworkData::getInstance()->isClient() && it->second.handshake->redirect() ) 599 600 { 600 601 this->bRedirect = true;
Note: See TracChangeset
for help on using the changeset viewer.