diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-22 18:58:13 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-22 18:58:13 +0800 |
commit | 9a6d820518d2db326a0342f6d09c8433cae5cd27 (patch) | |
tree | 968c7dd274de92fc244727fc73d67165dd479b11 | |
parent | 53e6dee545900c4216f76ada582c3494b644486e (diff) | |
download | pttbbs-9a6d820518d2db326a0342f6d09c8433cae5cd27.tar pttbbs-9a6d820518d2db326a0342f6d09c8433cae5cd27.tar.gz pttbbs-9a6d820518d2db326a0342f6d09c8433cae5cd27.tar.bz2 pttbbs-9a6d820518d2db326a0342f6d09c8433cae5cd27.tar.lz pttbbs-9a6d820518d2db326a0342f6d09c8433cae5cd27.tar.xz pttbbs-9a6d820518d2db326a0342f6d09c8433cae5cd27.tar.zst pttbbs-9a6d820518d2db326a0342f6d09c8433cae5cd27.zip |
fix 't' for admin
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1363 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 112c12b5..148f5d1d 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1090,11 +1090,10 @@ choose_board(int newflag) (HAS_PERM(PERM_SYSOP) || (currmode & MODE_MENU))) { fav_t *fav = get_current_fav(); for (tmp = 0; tmp < fav->DataTail; tmp++) { - short bid; + short bid = fav_getid(&fav->favh[tmp]); boardheader_t *bh = &bcache[ bid - 1 ]; if( !is_set_attr(&fav->favh[tmp], FAVH_ADM_TAG)) continue; - bid = fav_getid(&fav->favh[tmp]); set_attr(&fav->favh[tmp], FAVH_ADM_TAG, 0); if (bh->gid != class_bid) { bh->gid = class_bid; |