diff --git a/source/src/console.cpp b/source/src/console.cpp index 8291ce65..c232a83b 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -489,7 +489,9 @@ void savehistory() if(!f) return; loopv(history) { - f->printf("%s\n",history[i]->buf); + hline *h = history[i]; + if(!h->action && !h->prompt && strncmp(h->buf, "/ ", 2)) + f->printf("%s\n",h->buf); } delete f; }