From 60a5a3cb94e689906cdd6b0b9860db620e9adc80 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 15 Oct 2018 04:16:35 +0000 Subject: [PATCH] @eof@ (all-caps) is now another way to insert a premature EOF marker for a display file. --- src/sbbs3/putmsg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sbbs3/putmsg.cpp b/src/sbbs3/putmsg.cpp index e2b4b6f084..01fa98885b 100644 --- a/src/sbbs3/putmsg.cpp +++ b/src/sbbs3/putmsg.cpp @@ -247,6 +247,8 @@ char sbbs_t::putmsg(const char *buf, long mode) if(str[l]==ESC && str[l+1]=='$') /* WIP command */ lncntr=0; if(str[l]=='@' && !(mode&P_NOATCODES)) { + if(memcmp(str+l, "@EOF@", 5) == 0) + break; /* In HTML mode, defer PAUSE and MORE to end and supress message */ if(mode&P_HTML) { if(!memcmp(str+l,"@MORE@",6)) { -- GitLab