summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-10-29 20:53:42 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-10-29 20:53:42 +0800
commit4ccaf508da7e628542906ccaf30f194b71cae255 (patch)
tree9ca2032c02b91dddb97cdf7199a3fcf8e037a463 /mbbsd
parente5e12a78f4279298190d26e9688b9f6ed90d4ddd (diff)
downloadpttbbs-4ccaf508da7e628542906ccaf30f194b71cae255.tar
pttbbs-4ccaf508da7e628542906ccaf30f194b71cae255.tar.gz
pttbbs-4ccaf508da7e628542906ccaf30f194b71cae255.tar.bz2
pttbbs-4ccaf508da7e628542906ccaf30f194b71cae255.tar.lz
pttbbs-4ccaf508da7e628542906ccaf30f194b71cae255.tar.xz
pttbbs-4ccaf508da7e628542906ccaf30f194b71cae255.tar.zst
pttbbs-4ccaf508da7e628542906ccaf30f194b71cae255.zip
disable NO_OUT_MAIL before writing to jobspool
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@548 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mail.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 786d3151..8fafa0c1 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1,4 +1,4 @@
-/* $Id: mail.c,v 1.22 2002/07/22 19:02:00 in2 Exp $ */
+/* $Id: mail.c,v 1.23 2002/10/29 12:53:42 in2 Exp $ */
#include "bbs.h"
char currmaildir[32];
static char msg_cc[] = "\033[32m[群組名單]\033[m\n";
@@ -1319,6 +1319,14 @@ mail_waterball(int ent, fileheader_t * fhdr, char *direct)
}
if (invalidaddr(address))
return -2;
+ if( strstr(address, ".bbs") && HAS_PERM(PERM_NOOUTMAIL) ){
+ move(b_lines - 4, 0);
+ outs("\n您必須要打開接受站外信, 水球整理系統才能寄入結果\n"
+ "請麻煩到【郵件選單】按大寫 O改成接受站外信 (在右上角)\n"
+ "再重新執行本功\能 :)\n");
+ vmsg("請打開站外信, 再重新執行本功\能");
+ return FULLUPDATE;
+ }
//snprintf(fname, sizeof(fname), "%d\n", cmode);
move(b_lines - 4, 0);