summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/configreader.cpp2
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)