summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-20 22:58:30 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-20 22:58:30 +0800
commit457fd9457edb48999f2a238f6f93ea0b2cbe254e (patch)
treecfbf9eaa2314d1d7afff0d104eae8cd21fff7f62 /mbbsd/bbs.c
parent45fd0b8bbba0062c3b815e5a09b27aec378ee3a1 (diff)
downloadpttbbs-457fd9457edb48999f2a238f6f93ea0b2cbe254e.tar
pttbbs-457fd9457edb48999f2a238f6f93ea0b2cbe254e.tar.gz
pttbbs-457fd9457edb48999f2a238f6f93ea0b2cbe254e.tar.bz2
pttbbs-457fd9457edb48999f2a238f6f93ea0b2cbe254e.tar.lz
pttbbs-457fd9457edb48999f2a238f6f93ea0b2cbe254e.tar.xz
pttbbs-457fd9457edb48999f2a238f6f93ea0b2cbe254e.tar.zst
pttbbs-457fd9457edb48999f2a238f6f93ea0b2cbe254e.zip
- bbs: fixed: push_bottom nofitication not refreshed if abort.
- io: drop traditional getdata code - read: prevent non-BM seeing ZA alert messages - visio: change license to 2-clause BSD because I don't want to maintain compatible code... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4219 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index d843afdb..598d5106 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -3706,12 +3706,12 @@ push_bottom(int ent, fileheader_t *fhdr, const char *direct)
if( vans(fhdr->filemode & FILE_BOTTOM ?
"取消置底公告?(y/N)":
"加入置底公告?(y/N)") != 'y' )
- return READ_REDRAW;
+ return FULLUPDATE;
if(!(fhdr->filemode & FILE_BOTTOM) ){
snprintf(buf, sizeof(buf), "%s.bottom", direct);
if(num >= 5){
vmsg("不得超過 5 篇重要公告 請精簡!");
- return READ_REDRAW;
+ return FULLUPDATE;
}
fhdr->filemode ^= FILE_BOTTOM;
fhdr->multi.refer.flag = 1;