Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9633 in orxonox.OLD for branches


Ignore:
Timestamp:
Jul 31, 2006, 1:54:59 AM (18 years ago)
Author:
patrick
Message:

override, wrong send perm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/synchronizeable.cc

    r9632 r9633  
    243243    else if( (*it)->checkPermission( PERMISSION_SERVER ) && !SharedNetworkData::getInstance()->isClient() &&
    244244               userId != this->owner &&
    245                ( SharedNetworkData::getInstance()->isUserLocal( userId) || this->owner ==  SharedNetworkData::getInstance()->getHostID())) {
     245               ( SharedNetworkData::getInstance()->isUserLocal( this->owner) || this->owner ==  SharedNetworkData::getInstance()->getHostID())) {
    246246      hasPermission = true; b6 = true; }
    247247
     
    426426               SharedNetworkData::getInstance()->isClient()) {
    427427      hasPermission = true; b6 = true; }
     428    // sender == SERVER && i am SERVER && user is not local
    428429    else if(  (*it)->checkPermission( PERMISSION_SERVER ) &&
    429430                !SharedNetworkData::getInstance()->isUserClient( userId) &&
Note: See TracChangeset for help on using the changeset viewer.