ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/server.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/s_serv.c (file contents):
Revision 948 by michael, Tue Jul 21 17:34:06 2009 UTC vs.
Revision 992 by michael, Mon Aug 17 19:19:16 2009 UTC

# Line 1595 | Line 1595 | serv_connect(struct AccessItem *aconf, s
1595         buf);
1596  
1597    /* Still processing a DNS lookup? -> exit */
1598 <  if (aconf->dns_query != NULL)
1598 >  if (aconf->dns_pending)
1599    {
1600 <    sendto_realops_flags(UMODE_ALL, L_OPER,
1601 <                         "Error connecting to %s: Error during DNS lookup", conf->name);
1600 >    sendto_realops_flags(UMODE_ALL, L_ALL,
1601 >                         "Error connecting to %s: DNS lookup for connect{} in progress.",
1602 >                         conf->name);
1603 >    return (0);
1604 >  }
1605 >
1606 >  if (aconf->dns_failed)
1607 >  {
1608 >    sendto_realops_flags(UMODE_ALL, L_ALL,
1609 >                         "Error connecting to %s: DNS lookup for connect{} failed.",
1610 >                         conf->name);
1611      return (0);
1612    }
1613  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)