Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.

Commit 8aa4f5b

Browse files
committed
Only return unique IPs from MasterServer::getServers()
1 parent cf66c8b commit 8aa4f5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/SteamCondenser/Servers/MasterServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function getServers($regionCode = MasterServer::REGION_ALL , $filter = ''
189189
}
190190
}
191191

192-
return $serverArray;
192+
return array_unique($serverArray, SORT_REGULAR);
193193
}
194194

195195
/**

0 commit comments

Comments
 (0)