Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2006, 2:00:23 AM (18 years ago)
Author:
patrick
Message:

the other SERVER doesn't check anymore if the variable was sent correctly

File:
1 edited

Legend:

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

    r9634 r9635  
    423423    // Permission   SERVER accept if:
    424424    // 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()*/) {
    427427      hasPermission = true; b6 = true; }
    428428    // 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; }
    435435
    436436
Note: See TracChangeset for help on using the changeset viewer.