| # | 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 | */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |