diff options
-rw-r--r-- | mbbsd/admin.c | 2 |
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; |