From 5fabf3c1388f6a8f2779ca94306c28884f7621f0 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Sat, 13 Feb 2021 18:14:27 +0100 Subject: [PATCH] fix scripter bug --- tasmota/xdrv_10_scripter.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasmota/xdrv_10_scripter.ino b/tasmota/xdrv_10_scripter.ino index 3022bfb20..330ddc13d 100755 --- a/tasmota/xdrv_10_scripter.ino +++ b/tasmota/xdrv_10_scripter.ino @@ -4326,14 +4326,15 @@ int16_t Run_script_sub(const char *type, int8_t tlen, struct GVARS *gv) { goto next_line; } #ifdef USE_SENDMAIL +/* else if (!strncmp(lp, "sm", 2)) { lp+=3; char tmp[256]; Replace_Cmd_Vars(lp ,1 , tmp, sizeof(tmp)); SendMail(tmp); goto next_line; - } -#endif + }*/ +#endif else if (!strncmp(lp,"=>",2) || !strncmp(lp,"->",2) || !strncmp(lp,"+>",2) || !strncmp(lp,"print",5)) { // execute cmd uint8_t sflag = 0,pflg = 0,svmqtt,swll;