Parcourir la source

discord now uses extip instead of ip.

Daniel Gibbs il y a 8 ans
Parent
commit
305b5b0403
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lgsm/functions/alert_discord.sh

+ 1 - 1
lgsm/functions/alert_discord.sh

@@ -39,7 +39,7 @@ json=$(cat <<EOF
 			},
 			{
 				"name": "Server IP",
-				"value": "[${ip}:${port}](https://www.gametracker.com/server_info/${ip}:${port})"
+				"value": "[${extip:-$ip}:${port}](https://www.gametracker.com/server_info/${extip:-$ip}:${port})"
 			},
 			{
 				"name": "More info",