diff --git a/src/serverlist.cpp b/src/serverlist.cpp
index 7053436d055e42b7dc2e06e7c93820a567110201..ea5a616c249d8bad66cd9792b16d708f6a270ab5 100644
--- a/src/serverlist.cpp
+++ b/src/serverlist.cpp
@@ -53,7 +53,7 @@ std::vector<ServerListSpec> getLocal()
 	std::string liststring;
 	if(fs::PathExists(path))
 	{
-		std::ifstream istream(path.c_str(), std::ios::binary);
+		std::ifstream istream(path.c_str());
 		if(istream.is_open())
 		{
 			std::ostringstream ostream;