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

Comparing ircd-hybrid-8/src/conf.c (file contents):
Revision 1411 by michael, Sat May 12 20:46:53 2012 UTC vs.
Revision 1413 by michael, Sat May 26 08:25:12 2012 UTC

# Line 1961 | Line 1961 | lookup_confhost(struct ConfItem *conf)
1961  
1962    aconf = map_to_conf(conf);
1963  
1964 <  if (EmptyString(aconf->host) ||
1965 <      EmptyString(aconf->user))
1964 >  if (has_wildcards(aconf->host))
1965    {
1966      ilog(LOG_TYPE_IRCD, "Host/server name error: (%s) (%s)",
1967           aconf->host, conf->name);
1968      return;
1969    }
1970  
1972  if (strchr(aconf->host, '*') ||
1973      strchr(aconf->host, '?'))
1974    return;
1975
1971    /* Do name lookup now on hostnames given and store the
1972     * ip numbers in conf structure.
1973     */

Diff Legend

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