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 215f3a2df0
commit 9f4d459191

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};