Commit baf550c9 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

wip: set 0 only in list_machines

parent 5824d31f
......@@ -477,7 +477,7 @@ sub subscribe($self, %args) {
$self->_send_answer($ws,$args{channel});
my $channel = $args{channel};
$channel =~ s{/.*}{};
$TIME0{$channel} = 0;
$TIME0{$channel} = 0 if $channel =~ /list_machines/i;
}
sub unsubscribe($self, $ws) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment