Changeset 7623

Show
Ignore:
Timestamp:
05/02/09 13:15:43 (3 years ago)
Author:
p_lindheimer
Message:

reverse logic fix on FCBEEPONLY

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/daynight/functions.inc.php

    r7603 r7623  
    226226      $ext->add($id, $c, '', new ext_setvar($DEVSTATE.'(Custom:DAYNIGHT${INDEX})', 'NOT_INUSE')); 
    227227    } 
    228     if (!$amp_conf['FCBEEPONLY']) { 
     228    if ($amp_conf['FCBEEPONLY']) { 
    229229      $ext->add($id, $c, 'hook_day', new ext_playback('beep')); // $cmd,n,Playback(...) 
    230230    } else { 
     
    237237      $ext->add($id, $c, '', new ext_setvar($DEVSTATE.'(Custom:DAYNIGHT${INDEX})', 'INUSE')); 
    238238    } 
    239     if (!$amp_conf['FCBEEPONLY']) { 
     239    if ($amp_conf['FCBEEPONLY']) { 
    240240      $ext->add($id, $c, 'hook_night', new ext_playback('beep')); // $cmd,n,Playback(...) 
    241241    } else { 
  • modules/branches/2.6/findmefollow/functions.inc.php

    r7603 r7623  
    468468    $ext->add($id, $c, '', new ext_gosub('1', 'sstate', $id)); 
    469469  } 
    470   if (!$amp_conf['FCBEEPONLY']) { 
     470  if ($amp_conf['FCBEEPONLY']) { 
    471471    $ext->add($id, $c, 'hook_off', new ext_playback('beep')); // $cmd,n,Playback(...) 
    472472  } else { 
     
    480480    $ext->add($id, $c, '', new ext_gosub('1', 'sstate', $id)); 
    481481  } 
    482   if (!$amp_conf['FCBEEPONLY']) { 
     482  if ($amp_conf['FCBEEPONLY']) { 
    483483    $ext->add($id, $c, 'hook_on', new ext_playback('beep')); // $cmd,n,Playback(...) 
    484484  } else {