diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-04 14:52:14 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-04 14:52:14 +0800 |
commit | 7204388338e4e7445afd399a2e1c4947f86fbce3 (patch) | |
tree | acb927d31a747670a3ad1af593d537046581cb45 /mbbsd/admin.c | |
parent | ff7b952f0b6628d4843bd0cf4ceb8e9efd7798aa (diff) | |
download | pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.gz pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.bz2 pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.lz pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.xz pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.tar.zst pttbbs-7204388338e4e7445afd399a2e1c4947f86fbce3.zip |
apply rafan's (rafan.bbs@ptt2.cc) big patch to s/username/nickname/g
turn off FOREIGN_REG by default in sample/pttbbs.conf
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 14a4fd25..65199e00 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -83,8 +83,8 @@ search_key_user(const char *passwdfile, int mode) else if(mode) { if(strstr(user.realname, key)) keymatch = user.realname; - else if(strstr(user.username, key)) - keymatch = user.username; + else if(strstr(user.nickname, key)) + keymatch = user.nickname; else if(strstr(user.lasthost, key)) keymatch = user.lasthost; else if(strcasestr(user.email, key)) |