From 859c82e9cb9af0eb1adee1621822c53c5122cc32 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 16 Nov 2020 09:10:44 +0000 Subject: [PATCH] 00_MQTT2_SERVER.pm: fix ignoring second logmessage (Forum #115834) git-svn-id: https://svn.fhem.de/fhem/trunk@23167 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_MQTT2_SERVER.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/00_MQTT2_SERVER.pm b/fhem/FHEM/00_MQTT2_SERVER.pm index df17ed6b5..926e799ee 100644 --- a/fhem/FHEM/00_MQTT2_SERVER.pm +++ b/fhem/FHEM/00_MQTT2_SERVER.pm @@ -92,7 +92,7 @@ MQTT2_SERVER_keepaliveChecker($) $msgName .= "/".$cHash->{cid} if($cHash->{cid}); CommandDelete(undef, $clName); Log3 $hash, 3, "$hash->{NAME}: $msgName left us (keepalive check)" - if(!$hash->{isReplaced}); + if(!$cHash->{isReplaced}); } } InternalTimer($now+10, "MQTT2_SERVER_keepaliveChecker", $hash, 0);