mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Fixed issue where negative priorities werent allowed (Thanks to Patrick Reinhardt for finding and fixing this issue).
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4582 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
291be16251
commit
1bf0fc9667
@ -90,11 +90,11 @@ sub Pushover_Set_Message
|
|||||||
my $shortExpressionMatched = 0;
|
my $shortExpressionMatched = 0;
|
||||||
my $longExpressionMatched = 0;
|
my $longExpressionMatched = 0;
|
||||||
|
|
||||||
if($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(\d+)\s*(".*"|'.*')\s*(\d+)\s*(\d+)\s*$/s)
|
if($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(-?\d+)\s*(".*"|'.*')\s*(\d+)\s*(\d+)\s*$/s)
|
||||||
{
|
{
|
||||||
$longExpressionMatched = 1;
|
$longExpressionMatched = 1;
|
||||||
}
|
}
|
||||||
elsif($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(\d+)\s*(".*"|'.*')\s*$/s)
|
elsif($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(-?\d+)\s*(".*"|'.*')\s*$/s)
|
||||||
{
|
{
|
||||||
$shortExpressionMatched = 1;
|
$shortExpressionMatched = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user