1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 21:23:12 +02:00
This commit is contained in:
codemastr
2002-06-04 16:23:58 +00:00
parent 542ecdc7fb
commit 18892b6446
+1 -1
View File
@@ -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));