summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-27 20:33:13 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-27 20:33:13 +0800
commitfaaddb42006b9733537555c2852f629deaa1401d (patch)
treec057f846c11c68ec28f0890fda91e2f9dcc45a6e /mbbsd/admin.c
parent76f9d9fac2cfa43c7d819e147440987fa77e923a (diff)
downloadpttbbs-faaddb42006b9733537555c2852f629deaa1401d.tar
pttbbs-faaddb42006b9733537555c2852f629deaa1401d.tar.gz
pttbbs-faaddb42006b9733537555c2852f629deaa1401d.tar.bz2
pttbbs-faaddb42006b9733537555c2852f629deaa1401d.tar.lz
pttbbs-faaddb42006b9733537555c2852f629deaa1401d.tar.xz
pttbbs-faaddb42006b9733537555c2852f629deaa1401d.tar.zst
pttbbs-faaddb42006b9733537555c2852f629deaa1401d.zip
1.特殊搜尋使用者裡
請輸入使用者關鍵字[電話|地址|姓名|上站地點|email|小雞id] 可否加上身分證字號? 2.退註冊後重註 填完x後資料就會送過來 被退的人無法更新資料 我們又不見得有時間馬上去退掉 常常被罵好玩的啊XD 3.連署看板時 申請原因一欄沒有標題說明 常常有人因此重新連署@@ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1437 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index b1553f3c..03199d5f 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -39,7 +39,7 @@ search_key_user(char *passwdfile, int mode)
assert(fp1);
clear();
- getdata(0, 0, mode ? "пJϥΪr[q|a}|mW|WaI|"
+ getdata(0, 0, mode ? "пJϥΪr[q|a}|mW||WaI|"
"email|pid] :" : "пJid :", key, sizeof(key), DOECHO);
if(!key[0])
return 0;
@@ -52,8 +52,7 @@ search_key_user(char *passwdfile, int mode)
keymatch = NULL;
if (!strcasecmp(user.userid, key))
keymatch = user.userid;
- else if(mode)
- {
+ else if(mode) {
if(strstr(user.realname, key))
keymatch = user.realname;
else if(strstr(user.username, key))
@@ -68,9 +67,10 @@ search_key_user(char *passwdfile, int mode)
keymatch = user.justify;
else if(strstr(user.mychicken.name, key))
keymatch = user.mychicken.name;
- }
- if(keymatch)
- {
+ else if(strstr(user.ident, key))
+ keymatch = user.ident;
+ }
+ if(keymatch) {
move(1, 0);
prints(" [%d] \n", coun);
refresh();