summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 41f9135e..396fca87 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -2035,7 +2035,7 @@ doforward(const char *direct, const fileheader_t * fh, int mode)
char genbuf[PATHLEN];
int return_no;
- if (!address[0] && strcmp(cuser.email, "x") != 0)
+ if (!address[0] && strcasecmp(cuser.email, "x") != 0)
strlcpy(address, cuser.email, sizeof(address));
if( mode == 'U' ){