Commits

B.Greenham  committed 6675c15

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

  • Participants
  • Parent commits d3a5d93

Comments (0)

Files changed (1)

File src/s_conf.c

 		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("");