diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-09-29 09:39:03 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-09-29 09:39:03 +0800 |
commit | 381311ae0e05eabed9ac2105848325ab20efb159 (patch) | |
tree | ca71ad5f94ea069ba1a9f40998eb6ee70bfba5bf | |
parent | 55db5f5faa7f964c59a8a157505d611632d2f90c (diff) | |
download | pttbbs-381311ae0e05eabed9ac2105848325ab20efb159.tar pttbbs-381311ae0e05eabed9ac2105848325ab20efb159.tar.gz pttbbs-381311ae0e05eabed9ac2105848325ab20efb159.tar.bz2 pttbbs-381311ae0e05eabed9ac2105848325ab20efb159.tar.lz pttbbs-381311ae0e05eabed9ac2105848325ab20efb159.tar.xz pttbbs-381311ae0e05eabed9ac2105848325ab20efb159.tar.zst pttbbs-381311ae0e05eabed9ac2105848325ab20efb159.zip |
grant some admin permission to tag board
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3579 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |