mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +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:
parent
4347caad6c
commit
9565f9a254
@ -3018,7 +3018,7 @@ PrioQueue_add($$;$)
|
|||||||
{
|
{
|
||||||
my ($fn, $arg, $nice) = @_;
|
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 = -20 if($nice <-20);
|
||||||
$nice = 19 if($nice > 19);
|
$nice = 19 if($nice > 19);
|
||||||
$nextat = 1;
|
$nextat = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user