2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-03 19:49:02 +00:00

fhem.pl: Revert last regexp-check, affecting FileLog/Notify/etc (Forum #36663)

git-svn-id: https://svn.fhem.de/fhem/trunk@8498 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-04-30 09:39:37 +00:00
parent c0177131e6
commit 49ac09d9f7

View File

@ -4042,7 +4042,7 @@ notifyRegexpChanged($$)
my $dev;
$dev = $1 if(($re =~ m/^([^:]*)$/ || $re =~ m/^([^:]*):(.*)$/));
if($dev && defined($defs{$dev})) {
if($dev && defined($defs{$dev}) && $re !~ m/\|/) { # Forum #36663
$hash->{NOTIFYDEV} = $dev;
} else {
delete($hash->{NOTIFYDEV}); # when called by modify