diff options
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 66d49930d..8abcb0279 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -284,7 +284,6 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current) static std::string GetServerHost() { -#ifndef _WIN32 char hostname[256]; if (gethostname(hostname, sizeof(hostname)) == 0) { @@ -295,7 +294,6 @@ static std::string GetServerHost() if (name.length() <= ServerInstance->Config->Limits.MaxHost && InspIRCd::IsHost(name)) return name; } -#endif return "irc.example.com"; } |
