summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-09 12:17:35 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-09 12:17:35 +0800
commit5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3 (patch)
treee19965f3c6c0cf7acaed3949117f3e66ec2a39b1 /mbbsd/mail.c
parent0fcff566e893ab1046e7319fe436ea6b1bb93e05 (diff)
downloadpttbbs-5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3.tar
pttbbs-5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3.tar.gz
pttbbs-5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3.tar.bz2
pttbbs-5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3.tar.lz
pttbbs-5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3.tar.xz
pttbbs-5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3.tar.zst
pttbbs-5f4c0ce8c7d09a05b86097ad923bcbd84cc3d9c3.zip
- bbs: fixed: BM can skip PostRestriction check for x-crosspost.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4106 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index a5cff5dd..545027ca 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1422,24 +1422,6 @@ mail_cross_post(int ent, fileheader_t * fhdr, const char *direct)
char genbuf[200];
char genbuf2[4];
-#if 0
- // 除非有人明白為何要先 ChekPostPerm 並修復,
- // 否則先 disable 這段 code - 目前常造成 crash。
- //
- // XXX (will crash sometimes because currborad is not defined yet)
- // 麻煩 in2 來修復這裡: 確認轉錄為何要先 CheckPostPerm
- if (!currboard || currboard[0] == 0)
- {
- enter_board(DEFAULT_BOARD);
- }
- assert(0<=ent-1 && ent-1<MAX_BOARD);
-
- if (!CheckPostPerm()) {
- vmsg("對不起,您目前無法轉錄文章!");
- return FULLUPDATE;
- }
-#endif
-
move(2, 0);
clrtoeol();
if (postrecord.times > 1)