2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

fhem.pl: remove some ()

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

View File

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