From 86e272c57fde5a0ac315529e879e0eccd5469e1a Mon Sep 17 00:00:00 2001 From: kcwu Date: Tue, 28 Oct 2008 17:39:42 +0000 Subject: =?UTF-8?q?=20*=20In=20news=20group=20(=E8=BD=89=E4=BF=A1=E6=9D=BF?= =?UTF-8?q?),=20recommending=20on=20non-local=20saved=20articles=20is=20no?= =?UTF-8?q?t=20permitted.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 344c534f..cbf18f6c 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2762,6 +2762,11 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) return do_bid(ent, fhdr, bp, direct); } + if ((bp->brdattr & BRD_NOTRAN) == 0 && (fhdr->filemode & FILE_LOCAL) == 0) { + vmsg("轉信板只有站內存檔的文章才能推文"); + return FULLUPDATE; + } + #ifndef DEBUG if (!CheckPostRestriction(currbid)) { -- cgit v1.2.3