diff options
-rw-r--r-- | src/client/clientmedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/clientmedia.cpp b/src/client/clientmedia.cpp index e52ebcab3..6da99bbbf 100644 --- a/src/client/clientmedia.cpp +++ b/src/client/clientmedia.cpp @@ -257,7 +257,7 @@ void ClientMediaDownloader::initialStep(Client *client) // Encapsulate possible IPv6 plain address in [] std::string addr = client->getAddressName(); - if (addr.find(":", 0) != std::string::npos) + if (addr.find(':', 0) != std::string::npos) addr = '[' + addr + ']'; fetch_request.extra_headers.emplace_back( std::string("Referer: minetest://") + |