diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 1291ca947..5ff954e3a 100644 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -165,8 +165,8 @@ else alertversion="Unknown" fi -if [ "${postalert}" == "on" ]; then - alertmoreinfo="More info" +if [ "${postalert}" != "on" ]; then + alertmoreinfourl="not enabled" fi # Images diff --git a/lgsm/functions/alert_discord.sh b/lgsm/functions/alert_discord.sh index 62098c9be..4e938d5c2 100755 --- a/lgsm/functions/alert_discord.sh +++ b/lgsm/functions/alert_discord.sh @@ -59,7 +59,7 @@ json=$(cat <