2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

32_speedtest.pm: fixed my $var = ... if( ... );

git-svn-id: https://svn.fhem.de/fhem/trunk@23867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2021-03-01 08:23:09 +00:00
parent d6df42790f
commit aa070aab17

View File

@ -45,7 +45,8 @@ speedtest_Define($$)
$interval = $a[2] if(int(@a)>=3); $interval = $a[2] if(int(@a)>=3);
$interval = 30*60 if( $interval < 30*60 ); $interval = 30*60 if( $interval < 30*60 );
my $server = $a[3] if(int(@a)>=4); my $server;
$server = $a[3] if(int(@a)>=4);
delete( $hash->{SERVER} ); delete( $hash->{SERVER} );