diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-17 11:26:22 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-17 11:26:22 +0800 |
commit | f665f13b5bdcb87f19a0681481f6044cbcc109b9 (patch) | |
tree | 59dc95cf053cc3e4ee3cbabc18f218f78d866404 /mbbsd/bbs.c | |
parent | e12b8fb5f87d5bede1af88074cd6c85be93b121c (diff) | |
download | pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.gz pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.bz2 pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.lz pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.xz pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.tar.zst pttbbs-f665f13b5bdcb87f19a0681481f6044cbcc109b9.zip |
- general message update and optimization
- change search_num() to getdata(), allow unified control
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3698 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index e58e3909..d5775d12 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -3495,8 +3495,12 @@ change_cooldown(void) static int b_moved_to_config() { - vmsg("這個功\能已移入看板設定 (大寫 I) 去了!"); - return FULLUPDATE; + if ((currmode & MODE_BOARD) || HasUserPerm(PERM_SYSOP)) + { + vmsg("這個功\能已移入看板設定 (大寫 I) 去了!"); + return FULLUPDATE; + } + return DONOTHING; } /* ----------------------------------------------------- */ |