summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 2d6fc0dd..ff8b116e 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -195,8 +195,6 @@ int
dosearchuser(const char *userid, char *rightid)
{
int h, p, times;
- if(userid[0]=='\0')
- return 0;
STATINC(STAT_SEARCHUSER);
h = StringHash(userid)%(1<<HASH_BITS);
p = SHM->hash_head[h];