summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-29 11:33:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-29 11:33:14 +0800
commit355996889f971d3431cba4cd206c49937854a7a9 (patch)
treecd8ef0a52420f4ed9513fb6ad9f0ed3c3157f9ea /mbbsd/bbs.c
parent49a3549d92809881652ad6ec6adad666084d7d3a (diff)
downloadpttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar
pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.gz
pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.bz2
pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.lz
pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.xz
pttbbs-355996889f971d3431cba4cd206c49937854a7a9.tar.zst
pttbbs-355996889f971d3431cba4cd206c49937854a7a9.zip
- fix announce crash bugs (reason: entering a_menu may have different board
than currbid/currboard.) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index b1aaa641..6702c021 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2028,7 +2028,8 @@ b_man(void)
close(fd);
}
return a_menu(currboard, buf, HasUserPerm(PERM_ALLBOARD) ? 2 :
- (currmode & MODE_BOARD ? 1 : 0),
+ (currmode & MODE_BOARD ? 1 : 0),
+ currbid, // getbnum(currboard)?
NULL);
}