From: Michael Poole Date: Thu, 21 Oct 2004 23:00:55 +0000 (+0000) Subject: Test resolved host names against aconf->host, not the (NULL) aconf->name. X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=0767fe05aa03fc26c97902bc8f62bc54331834c9;p=ircu2.10.12-pk.git Test resolved host names against aconf->host, not the (NULL) aconf->name. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1254 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 78d1f68..892744b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-21 Michael Poole + + * ircd/s_conf.c (attach_iline): Test resolved host names against + aconf->host, not the (NULL) aconf->name. + 2004-10-19 Michael Poole * include/channel.h: Move ban flags out of channel flags and diff --git a/ircd/s_conf.c b/ircd/s_conf.c index c4516b3..160b4e0 100644 --- a/ircd/s_conf.c +++ b/ircd/s_conf.c @@ -393,7 +393,7 @@ enum AuthorizationCheckResult attach_iline(struct Client* cptr) } if (hp) { Debug((DEBUG_DNS, "a_il: %s->%s", cli_sockhost(cptr), hp->h_name)); - if (!match(aconf->name, hp->h_name)) + if (!match(aconf->host, hp->h_name)) return check_limit_and_attach(cptr, aconf); } if ((aconf->addrbits >= 0)