summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-10-29 01:39:42 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-10-29 01:39:42 +0800
commit86e272c57fde5a0ac315529e879e0eccd5469e1a (patch)
treeb13399035a35cda66dda004f3d1eb1eefff05298 /mbbsd/bbs.c
parentaff02e2bcdffc6a3c8f3366de143ddba51442eb5 (diff)
downloadpttbbs-86e272c57fde5a0ac315529e879e0eccd5469e1a.tar
pttbbs-86e272c57fde5a0ac315529e879e0eccd5469e1a.tar.gz
pttbbs-86e272c57fde5a0ac315529e879e0eccd5469e1a.tar.bz2
pttbbs-86e272c57fde5a0ac315529e879e0eccd5469e1a.tar.lz
pttbbs-86e272c57fde5a0ac315529e879e0eccd5469e1a.tar.xz
pttbbs-86e272c57fde5a0ac315529e879e0eccd5469e1a.tar.zst
pttbbs-86e272c57fde5a0ac315529e879e0eccd5469e1a.zip
* In news group (轉信板), recommending on non-local saved articles is not permitted.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4410 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c5
1 files changed, 5 insertions, 0 deletions
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("HOusɪ峹~");
+ return FULLUPDATE;
+ }
+
#ifndef DEBUG
if (!CheckPostRestriction(currbid))
{