summaryrefslogtreecommitdiffstats
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index 136e4ce..569c8e7 100644
--- a/misc.c
+++ b/misc.c
@@ -2408,6 +2408,11 @@ sanitize_control_message(const char *str, struct gc_arena *gc)
cp += 7;
redact = true;
}
+ else if (c == 'e' && !strncmp(cp, "echo ", 5))
+ {
+ cp += 4;
+ redact = true;
+ }
else
{
if (c == ',') /* end of session id? */