2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-16 10:46:03 +00:00

FHEM/01_FHEMWEB.pm: Avoid FW_directNotify messages in event monitor (Forum #47079)

git-svn-id: https://svn.fhem.de/fhem/trunk@10548 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-01-17 08:38:46 +00:00
parent 689d54a36c
commit 03a40c2f38

View File

@ -2597,7 +2597,8 @@ FW_directNotify($@) # Notify without the event overhead (Forum #31293)
next if(!$ntfy->{TYPE} ||
$ntfy->{TYPE} ne "FHEMWEB" ||
!$ntfy->{inform} ||
!$ntfy->{inform}{devices}{$dev});
!$ntfy->{inform}{devices}{$dev} ||
$ntfy->{inform}{type} ne "status");
if(!addToWritebuffer($ntfy,
FW_longpollInfo($ntfy->{inform}{fmt}, @_)."\n")) {
my $name = $ntfy->{NAME};