From 18892b6446b6037d3ebc2e647765af738dd5e1dc Mon Sep 17 00:00:00 2001 From: codemastr Date: Tue, 4 Jun 2002 16:23:58 +0000 Subject: [PATCH] ... --- src/s_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s_conf.c b/src/s_conf.c index 7f2b7e719..4ddb112f5 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -3966,7 +3966,7 @@ int AllowClient(aClient *cptr, struct hostent *hp, char *sockhost) /* if (index(uhost, '@')) now flag based -- codemastr */ if (!aconf->flags.noident) cptr->flags |= FLAGS_DOID; - if (!aconf->flags.useip && hp->h_name) + if (!aconf->flags.useip && hp) (void)strncpy(uhost, fullname, sizeof(uhost)); else (void)strncpy(uhost, sockhost, sizeof(uhost));