Skip to content

Commit fcc6dc7

Browse files
authored
Merge pull request #962 from Rushaway/php81
fix(web): Missing octet in IP
2 parents e92f5ca + 95f0327 commit fcc6dc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/configs/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"version": "1.8.0",
3-
"git": "1404",
3+
"git": "1407",
44
"dev": true
55
}

web/includes/system-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ function rcon(string $cmd, int $sid)
378378
*/
379379
function parseRconStatus(string $status)
380380
{
381-
$regex = '/#\s*(\d+)(?>\s|\d)*"(.*)"\s*(STEAM_[01]:[01]:\d+|\[U:1:\d+\])(?>\s|:|\d)*[a-zA-Z]*\s*\d*\s*([0-9.]+)/';
381+
$regex = '/#\s*(\d+)(?>\s|\d)*"(.*)"\s*(STEAM_[01]:[01]:\d+|\[U:1:\d+\])(?>\s|:|\d)*[a-zA-Z]*\s*\d*\s([0-9.]+)/';
382382
$players = [];
383383

384384
$result = [];

0 commit comments

Comments
 (0)