summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-27 17:20:07 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-27 17:20:07 +0800
commit96913fe72a4d88403a1786213a5954659d68932e (patch)
treebdb96dcbb81da0e579aa241ea38d34c9a1ae653d
parent34ccab684503c753fdfaf7caa56dd9f2c8415589 (diff)
downloadpttbbs-96913fe72a4d88403a1786213a5954659d68932e.tar
pttbbs-96913fe72a4d88403a1786213a5954659d68932e.tar.gz
pttbbs-96913fe72a4d88403a1786213a5954659d68932e.tar.bz2
pttbbs-96913fe72a4d88403a1786213a5954659d68932e.tar.lz
pttbbs-96913fe72a4d88403a1786213a5954659d68932e.tar.xz
pttbbs-96913fe72a4d88403a1786213a5954659d68932e.tar.zst
pttbbs-96913fe72a4d88403a1786213a5954659d68932e.zip
ignore case in searching user's email
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index d244ee46..b62a1d89 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -85,7 +85,7 @@ search_key_user(char *passwdfile, int mode)
keymatch = user.username;
else if(strstr(user.lasthost, key))
keymatch = user.lasthost;
- else if(strstr(user.email, key))
+ else if(strcasestr(user.email, key))
keymatch = user.email;
else if(strstr(user.address, key))
keymatch = user.address;