10_MQTT2_DEVICE.pm: handle Undef for bridgeRegexp too

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

View File

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