Don't throw a warning if general:default_operhost is empty.

This commit is contained in:
B.Greenham 2010-04-07 15:08:02 -04:00
parent 67537fefa4
commit 41e026e175
1 changed files with 1 additions and 1 deletions

View File

@ -895,7 +895,7 @@ validate_conf(void)
splitchecking = 0;
}
if(!valid_hostname(ConfigFileEntry.default_operhost))
if(!valid_hostname(ConfigFileEntry.default_operhost) && !EmptyString(ConfigFileEntry.default_operhost))
{
conf_report_error("Warning -- invalid default_operhost specified, ignoring.");
ConfigFileEntry.default_operhost = rb_strdup("");