diff options
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 20c360303..2b7555a01 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -344,7 +344,8 @@ bool ValidateServerName(ServerConfig* conf, const char*, const char*, ValueItem std::string moo = std::string(data.GetString()).append("."); data.Set(moo.c_str()); } - return ValidateHostname(conf, "server", "name", data); + conf->ValidateHostname(data.GetString(), "server", "name"); + return true; } bool ValidateNetBufferSize(ServerConfig* conf, const char*, const char*, ValueItem &data) |