diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-03-13 16:49:20 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-03-13 16:49:20 +0800 |
commit | 6e73dd08e23f19998a385c2d5576345fc947e741 (patch) | |
tree | 98d1dbf6fd7b52af5ad1f9cef0ce3f3b3d35ac4f /mbbsd/admin.c | |
parent | 7244928e1902044295de75180035ea8ca67a4930 (diff) | |
download | pttbbs-6e73dd08e23f19998a385c2d5576345fc947e741.tar pttbbs-6e73dd08e23f19998a385c2d5576345fc947e741.tar.gz pttbbs-6e73dd08e23f19998a385c2d5576345fc947e741.tar.bz2 pttbbs-6e73dd08e23f19998a385c2d5576345fc947e741.tar.lz pttbbs-6e73dd08e23f19998a385c2d5576345fc947e741.tar.xz pttbbs-6e73dd08e23f19998a385c2d5576345fc947e741.tar.zst pttbbs-6e73dd08e23f19998a385c2d5576345fc947e741.zip |
Police Manager, can search user info
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 5b094b59..766ecab0 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -138,7 +138,9 @@ search_key_user(const char *passwdfile, int mode) refresh(); user_display(&user, 1); - uinfo_query(&user, 1, coun); + if (HasUserPerm(PERM_ACCOUNTS)) + uinfo_query(&user, 1, coun); + outs(ANSI_COLOR(44) " 空白鍵" \ ANSI_COLOR(37) ":搜尋下一個 " \ ANSI_COLOR(33)" Q" ANSI_COLOR(37)": 離開"); |