summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/bbs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index b67526ad..092dc38c 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -3595,6 +3595,14 @@ lock_post(int ent, fileheader_t * fhdr, const char *direct)
bp = getbcache(currbid);
assert(bp);
+#ifdef USE_LIVE_ALLPOST
+ // In case idiots do this in ALLPOST...
+ if (strcmp(bp->brdname, BN_ALLPOST) == 0) {
+ vmsgf("請至原看板鎖定。%s 會自動更新。", BN_ALLPOST);
+ return FULLUPDATE;
+ }
+#endif
+
if (fhdr->filename[0]=='M') {
if (!HasUserPerm(PERM_SYSOP | PERM_POLICE)) {
vmsg("站長或特殊管理人員才可進行鎖定。板主只能解除鎖定。");