mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
removed dangerous restart mqtt cmd
This commit is contained in:
@@ -56,12 +56,6 @@ void System::mqtt_commands(const char * message) {
|
||||
return;
|
||||
}
|
||||
|
||||
// restart EMS-ESP
|
||||
if (strcmp(message, "restart") == 0) {
|
||||
LOG_INFO(F("Restart command received"));
|
||||
restart();
|
||||
}
|
||||
|
||||
if (doc["send"] != nullptr) {
|
||||
const char * data = doc["send"];
|
||||
EMSESP::send_raw_telegram(data);
|
||||
|
||||
Reference in New Issue
Block a user