Changeset 41

Show
Ignore:
Timestamp:
04/30/07 16:14:56 (2 years ago)
Author:
root
Message:

Fix for regexp buttons when coupled with Local channels

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/op_server.pl

    r40 r41  
    52455245 
    52465246    log_debug( "** LOCAL_CHANNELS devuelvo $server canal $canal", 32 ) if DEBUG; 
     5247 
     5248    # If channel has a pipe due to REGEXP button, replace it with something else because 
     5249    # procesa_bloque use pipes to return data to digest_event_block 
     5250    $canal =~ s/\|/~/g; 
    52475251    push @return, $server; 
    52485252    push @return, $canal; 
     
    53015305                ( $canal, $quehace, $dos, $uniqueid, $canalid ) = split( /\|/, $mensaje ); 
    53025306 
     5307                # change back newflo into pipes 
     5308                $canal   =~ s/~/\|/g; 
     5309                $canalid =~ s/~/\|/g; 
    53035310                $canalid =~ s/(.*),(\d)/$1/g;    # discard ,2 on Local channels 
    53045311