2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 05:06:35 +00:00

fhem.pl: small fix in prio code (Forum #77890)

git-svn-id: https://svn.fhem.de/fhem/trunk@15294 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-10-20 06:40:24 +00:00
parent 4347caad6c
commit 9565f9a254

View File

@ -3018,7 +3018,7 @@ PrioQueue_add($$;$)
{
my ($fn, $arg, $nice) = @_;
$nice = 0 if(not defined($nice) || !looks_like_number($nice));
$nice = 0 if(!defined($nice) || !looks_like_number($nice));
$nice = -20 if($nice <-20);
$nice = 19 if($nice > 19);
$nextat = 1;