Changeset 9590 in orxonox.OLD for branches/proxy
- Timestamp:
- Jul 28, 2006, 11:45:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable.cc
r9588 r9590 232 232 // SPECIAL: permission to forward to the master server 233 233 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserMasterServer(userId) 234 && (*it)->checkPermission( PERMISSION_MASTER_SERVER) )234 && (*it)->checkPermission( PERMISSION_MASTER_SERVER) && this->networkStream->isUserLocal(userId)) 235 235 hasPermission = true; 236 236 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserClient(userId) … … 367 367 && SharedNetworkData::getInstance()->isClient()) 368 368 hasPermission = true; 369 // check for forwarded data 370 else if( this->networkStream->isUserProxyServerActive( userId ) && SharedNetworkData::getInstance()->isMasterServer() && 371 !this->networkStream->isUserLocal( userId )) 372 hasPermission = true; 369 373 // now check OWNER permissions 370 374 else if( this->owner == userId && (*it)->checkPermission( PERMISSION_OWNER ))
Note: See TracChangeset
for help on using the changeset viewer.