2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

00_MQTT2_SERVER.pm: fix ignoreregexp warning (Forum #122816)

git-svn-id: https://svn.fhem.de/fhem/trunk@24984 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-09-16 17:21:43 +00:00
parent bbe01f8151
commit f762c1f6a9

View File

@ -492,7 +492,7 @@ MQTT2_SERVER_doPublish($$$$;$)
my $serverName = $server->{NAME};
my $ir = AttrVal($serverName, "ignoreRegexp", undef);
next if(defined($ir) && "$tp:$val" =~ m/$ir/);
return if(defined($ir) && "$tp:$val" =~ m/$ir/);
my $cid = $src->{cid};
$tp =~ s/:/_/g; # 96608