From 381311ae0e05eabed9ac2105848325ab20efb159 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 29 Sep 2007 01:39:03 +0000 Subject: grant some admin permission to tag board git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/board.c b/mbbsd/board.c index 2a00fdf0..5d049bf1 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -900,7 +900,10 @@ choose_board(int newflag) if(get_fav_type(&nbrd[0]) != 0) fav_tag(ptr->bid, get_fav_type(ptr), 2); } - else if (HasUserPerm(PERM_SYSOP)) { + else if (HasUserPerm(PERM_SYSOP) || + HasUserPerm(PERM_SYSSUPERSUBOP) || + HasUserPerm(PERM_SYSSUBOP) || + HasUserPerm(PERM_BOARD)) /* 站長管理用的 tag */ if (ptr->myattr & NBRD_TAG) set_attr(getadmtag(ptr->bid), FAVH_ADM_TAG, FALSE); -- cgit v1.2.3