10_MQTT2_DEVICE.pm: handle Undef for bridgeRegexp too

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18962 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-03-18 17:49:15 +00:00
parent 076d72d42b
commit c2d7c5570c

View File

@ -527,6 +527,7 @@ MQTT2_DEVICE_Undef($$)
my @nh = grep { $_->{NAME} ne $hash->{NAME} } @{$dpc}; my @nh = grep { $_->{NAME} ne $hash->{NAME} } @{$dpc};
$modules{MQTT2_DEVICE}{defptr}{cid}{$hash->{CID}} = \@nh; $modules{MQTT2_DEVICE}{defptr}{cid}{$hash->{CID}} = \@nh;
} }
MQTT2_DEVICE_setBridgeRegexp();
return undef; return undef;
} }