From fefb96a783febe837bdcd04a8b88b4bfd98c4efc Mon Sep 17 00:00:00 2001 From: Muscle Date: Mon, 22 Apr 2024 18:27:23 +0900 Subject: [PATCH] fixed get_playername correctly for player logging. --- scripts/player_logging.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/player_logging.sh b/scripts/player_logging.sh index 966f3e85f..8fc9cc0cb 100644 --- a/scripts/player_logging.sh +++ b/scripts/player_logging.sh @@ -9,7 +9,7 @@ get_steamid(){ get_playername(){ local player_info="${1}" - echo "${player_info}" | sed -E 's/,([0-9]+),[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]//g' + echo "${player_info}" | sed -E 's/,([0-9A-Z]+),[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]//g' } # Prefer REST API