2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

98_monitoring: quote meta characters by INITIALIZED check

git-svn-id: https://svn.fhem.de/fhem/trunk@14549 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
igami 2017-06-21 04:10:00 +00:00
parent 3e7f9c492f
commit f64e0ca21a

View File

@ -270,7 +270,7 @@ sub monitoring_Notify($$) {
return unless($events);
if($name eq "global" && "INITIALIZED" =~ m/@{$events}/){
if($name eq "global" && "INITIALIZED" =~ m/\Q@{$events}\E/){
monitoring_setActive($hash);
return;