Skip to content

Commit

Permalink
Merge pull request #962 from Rushaway/php81
Browse files Browse the repository at this point in the history
fix(web): Missing octet in IP
  • Loading branch information
Hackmastr authored Jun 1, 2024
2 parents e92f5ca + 95f0327 commit fcc6dc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/configs/version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.8.0",
"git": "1404",
"git": "1407",
"dev": true
}
2 changes: 1 addition & 1 deletion web/includes/system-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function rcon(string $cmd, int $sid)
*/
function parseRconStatus(string $status)
{
$regex = '/#\s*(\d+)(?>\s|\d)*"(.*)"\s*(STEAM_[01]:[01]:\d+|\[U:1:\d+\])(?>\s|:|\d)*[a-zA-Z]*\s*\d*\s*([0-9.]+)/';
$regex = '/#\s*(\d+)(?>\s|\d)*"(.*)"\s*(STEAM_[01]:[01]:\d+|\[U:1:\d+\])(?>\s|:|\d)*[a-zA-Z]*\s*\d*\s([0-9.]+)/';
$players = [];

$result = [];
Expand Down

0 comments on commit fcc6dc7

Please sign in to comment.