Changeset 9588 in orxonox.OLD for branches/proxy/src/lib/network/synchronizeable.cc
- Timestamp:
- Jul 28, 2006, 11:13:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable.cc
r9581 r9588 226 226 else if( SharedNetworkData::getInstance()->isMasterServer() && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER )) 227 227 hasPermission = true; 228 // SPECIAL: get write permissions if i am proxy server and i am able to overwrite the client stuff228 // SPECIAL: permission to forward syncs from the master server to the clients 229 229 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserClient(userId) 230 && (*it)->checkPermission( PERMISSION_MASTER_SERVER) ) 231 hasPermission = true; 232 // SPECIAL: permission to forward to the master server 233 else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserMasterServer(userId) 230 234 && (*it)->checkPermission( PERMISSION_MASTER_SERVER) ) 231 235 hasPermission = true;
Note: See TracChangeset
for help on using the changeset viewer.