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:
@@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user