From 2e2208bb97e66cbc283daf6a9360bc9e6eb4e298 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Wed, 12 Dec 2001 21:46:55 +0000 Subject: [PATCH] Fixed quote initials with extra space in it --- ChangeLog | 5 +++++ mbsebbs/email.c | 2 +- mbsebbs/mail.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2cadd2cc..69615316 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4215,6 +4215,8 @@ v0.33.18 27-Jul-2001 v0.33.19 26-Oct-2001 upgrade: + Announce any new files you might have. If you run mbtoberep + it should display no data anymore. Change the file /opt/mbse/etc/issue like the example in the subdirectory mbtask. Change the shell for user mbse to /opt/mbse/bin/mbnewusr @@ -4313,6 +4315,9 @@ v0.33.19 26-Oct-2001 The upload virus file scan now also scans files that are not known archives. Should catch macro viri and worms. The file CRC is now set when importing an uploaded file. + Fixed quote initials of the original user containing a space + character if there was a dot followed by a space in the users + name. mbnewusr: New program, run by user bbs. This is only to register a new diff --git a/mbsebbs/email.c b/mbsebbs/email.c index 76813a6f..a1f01bef 100644 --- a/mbsebbs/email.c +++ b/mbsebbs/email.c @@ -756,7 +756,7 @@ void Reply_Email(int IsReply) x = TRUE; j = 0; for (i = 0; i < strlen(to); i++) { - if (x) { + if (x && isalpha(to[i])) { qin[j] = to[i]; j++; x = FALSE; diff --git a/mbsebbs/mail.c b/mbsebbs/mail.c index 2fe898f1..12681fa2 100644 --- a/mbsebbs/mail.c +++ b/mbsebbs/mail.c @@ -1317,7 +1317,7 @@ void Reply_Msg(int IsReply) x = TRUE; j = 0; for (i = 0; i < strlen(to); i++) { - if (x) { + if (x && isalpha(to[i])) { qin[j] = to[i]; j++; x = FALSE;