diff options
-rw-r--r-- | mbbsd/mail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 485bd394..d599afa0 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1947,7 +1947,7 @@ doforward(const char *direct, const fileheader_t * fh, int mode) char genbuf[PATHLEN]; int return_no; - if (!address[0]) + if (!address[0] && strcmp(cuser.email, "x") != 0) strlcpy(address, cuser.email, sizeof(address)); if( mode == 'U' ){ @@ -1956,7 +1956,7 @@ doforward(const char *direct, const fileheader_t * fh, int mode) trim(address); // if user has address and not the default 'x' (no-email)... - if (address[0] && strcmp(address, "x") != 0) { + if (address[0]) { snprintf(genbuf, sizeof(genbuf), "½T©wÂà±Hµ¹ [%s] ¶Ü(Y/N/Q)¡H[Y] ", address); getdata(b_lines, 0, genbuf, fname, 3, LCECHO); |