summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index cbf18f6c..d27565a8 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2762,10 +2762,12 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
return do_bid(ent, fhdr, bp, direct);
}
+#ifndef ALLOW_RECOMMEND_NONLOCAL_SAVED_ARTICLE
if ((bp->brdattr & BRD_NOTRAN) == 0 && (fhdr->filemode & FILE_LOCAL) == 0) {
vmsg("轉信板只有站內存檔的文章才能推文");
return FULLUPDATE;
}
+#endif
#ifndef DEBUG
if (!CheckPostRestriction(currbid))