From 96913fe72a4d88403a1786213a5954659d68932e Mon Sep 17 00:00:00 2001 From: in2 Date: Fri, 27 Aug 2004 09:20:07 +0000 Subject: ignore case in searching user's email git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3