Skip to content

Commit

Permalink
fixed issue with php version
Browse files Browse the repository at this point in the history
  • Loading branch information
ciknowles committed May 4, 2018
1 parent 8057596 commit 237e6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sskaje/mqtt/MQTT.php
Expand Up @@ -1114,7 +1114,7 @@ public function loop()
# check if any commands awaits or topics to subscribe
if (!$this->cmdstore->countWaits() && empty($this->topics) && empty($this->topics_to_subscribe)) {
Debug::Log(Debug::INFO, "loop(): No tasks, leaving...");
break;
return true;
}

# Subscribe topics
Expand Down

0 comments on commit 237e6e8

Please sign in to comment.