Changeset 9635 in orxonox.OLD for branches/proxy/src/lib/network/synchronizeable.cc
- Timestamp:
- Jul 31, 2006, 2:00:23 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable.cc
r9634 r9635 423 423 // Permission SERVER accept if: 424 424 // sender == SERVER 425 else if( (*it)->checkPermission( PERMISSION_SERVER ) && !SharedNetworkData::getInstance()->isUserClient( userId) &&426 SharedNetworkData::getInstance()->isClient() ) {425 else if( (*it)->checkPermission( PERMISSION_SERVER ) && !SharedNetworkData::getInstance()->isUserClient( userId) /*&& 426 SharedNetworkData::getInstance()->isClient()*/) { 427 427 hasPermission = true; b6 = true; } 428 428 // sender == SERVER && i am SERVER && user is not local 429 else if( (*it)->checkPermission( PERMISSION_SERVER ) &&430 !SharedNetworkData::getInstance()->isUserClient( userId) &&431 !SharedNetworkData::getInstance()->isClient() &&432 !(SharedNetworkData::getInstance()->isUserLocal( this->owner) &&433 this->owner != SharedNetworkData::getInstance()->getHostID())) {434 hasPermission = true; b7 = true; }429 // else if( (*it)->checkPermission( PERMISSION_SERVER ) && 430 // !SharedNetworkData::getInstance()->isUserClient( userId) && 431 // !SharedNetworkData::getInstance()->isClient() && 432 // !(SharedNetworkData::getInstance()->isUserLocal( this->owner) && 433 // this->owner != SharedNetworkData::getInstance()->getHostID())) { 434 // hasPermission = true; b7 = true; } 435 435 436 436
Note: See TracChangeset
for help on using the changeset viewer.