Skip to content

Commit

Permalink
fix(web): Missing octet in IP
Browse files Browse the repository at this point in the history
https: //github.com//issues/865#issuecomment-1636149612
Co-Authored-By: F1F88 <66011476+f1f88@users.noreply.github.com>
  • Loading branch information
Rushaway and F1F88 committed Jun 1, 2024
1 parent 4609304 commit 95f0327
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 95f0327

Please sign in to comment.