From e25496bd2ca82b98f0caf9857d66593b26ebccac Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 3 Jul 2002 09:08:14 +0000 Subject: =?UTF-8?q?=20=20=20=20if(=20!(strstr(fhdr->title,=20"=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=EF=BF=BDu")=20&&=20strstr(fhdr->title,=20"=EF=BF=BDO?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD"))=20){?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@408 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/mail.c b/mbbsd/mail.c index a4d47df7..35fced7e 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -1,4 +1,4 @@ -/* $Id: mail.c,v 1.15 2002/07/02 02:12:56 in2 Exp $ */ +/* $Id: mail.c,v 1.16 2002/07/03 09:08:14 in2 Exp $ */ #include "bbs.h" char currmaildir[32]; static char msg_cc[] = "\033[32m[群組名單]\033[m\n"; @@ -1220,7 +1220,7 @@ static int mail_waterball(int ent, fileheader_t *fhdr, char *direct) char fname[500], genbuf[200]; FILE *fp; - if( !strstr(fhdr->title, "熱線記錄") ){ + if( !(strstr(fhdr->title, "熱線") && strstr(fhdr->title, "記錄")) ){ vmsg("必須是 熱線記錄 才能使用水球整理的唷!"); return 1; } -- cgit v1.2.3