Skip to content

Commit

Permalink
Merge pull request PhracturedBlue#10 from simone1999/patch-3
Browse files Browse the repository at this point in the history
sending on in topic was a verry bad Idea, resetting to last commit
  • Loading branch information
simone1999 committed Dec 29, 2018
2 parents d25dff0 + c6140c0 commit 013fa80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ESP8266MQTTMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ void ESP8266MQTTMesh::HandleMessages(const char *topic, const char *msg) {
if(strstr(topic,"Ping") == topic){
dbgPrintln(EMMDBG_MSG, "answering Ping!");
String topic = "Ping";
publish_node(topic.c_str(), String(1).c_str());
publish(topic.c_str(), String(1).c_str());
}else if(strstr(topic,"Restart") == topic){
dbgPrintln(EMMDBG_MSG, "Got Restart Command, restarting now");
die();
Expand Down

0 comments on commit 013fa80

Please sign in to comment.