2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 14:46:24 +00:00

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 baed376d4c
commit d559951795

View File

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