]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Fix the problems GreenReaper found with the windows select engine, this has never...
[user/henk/code/inspircd.git] / src / configreader.cpp
index 20c360303ada9564896f7c11d0e8a8afb072967c..2b7555a01a4b4f221509c6aaa0294fe36016850f 100644 (file)
@@ -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)