2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

fhem.pl: notifyRegexpCheck fix by Nestor (Forum #111938)

git-svn-id: https://svn.fhem.de/fhem/trunk@22522 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-08-02 14:27:55 +00:00
parent 4386e45a2b
commit 4dcb20dda2

View File

@ -5418,7 +5418,7 @@ notifyRegexpCheck($)
"$_: device $1 (OK)";
} else {
my @ds = devspec2array($1);
if(@ds > 1 || $ds[0] != $1) {
if($ds[0] ne $1) {
"$_: devspec ".join(",",@ds)." (OK)";
} else {
"$_: unknown (ignored)";