00_MQTT2_CLIENT.pm: better disable handling (Forum #111959)

git-svn-id: https://svn.fhem.de/fhem/trunk@27468 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2023-04-20 19:55:52 +00:00
parent 716cd14102
commit c83f9d896f

View File

@@ -414,7 +414,7 @@ MQTT2_CLIENT_Attr(@)
if(DevIo_getState($hash) ne "disconnected");
} else {
InternalTimer(0, \&MQTT2_CLIENT_connect, $hash, 1)
InternalTimer(0, \&MQTT2_CLIENT_connect, $hash)
if(DevIo_getState($hash) ne "opened");
}
}