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