Skip to content

Commit 7abedc4

Browse files
committed
remove inline
1 parent 24183e7 commit 7abedc4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

lgsm/modules/alert.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ fn_alert_update() {
112112
# Update failure alert
113113
fn_alert_update_failed() {
114114
# Expect updatefailureexpected (target version) and updatefailuregot (actual localbuild) if set
115-
local expected="${updatefailureexpected:-${remotebuild:-unknown}}"
116-
local got="${updatefailuregot:-${localbuild:-unknown}}"
117-
fn_script_log_error "Sending alert: ${selfname} update failed: expected ${expected}, got ${got}"
115+
local updateexpected="${updatefailureexpected:-${remotebuild:-unknown}}"
116+
local updategot="${updatefailuregot:-${localbuild:-unknown}}"
117+
fn_script_log_error "Sending alert: ${selfname} update failed: expected ${updateexpected}, got ${updategot}"
118118
alertaction="Update Failed"
119119
alertemoji=""
120120
alertsound="2"
121-
alertmessage="${selfname} update failed: expected ${expected}, got ${got}. Manual intervention required."
121+
alertmessage="${selfname} update failed: expected ${updateexpected}, got ${updategot}. Manual intervention required."
122122
# Red
123123
alertcolourhex="#cd0000"
124124
alertcolourdec="13434880"

lgsm/modules/alert_discord.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ if [ -n "${querytype}" ]; then
5757
{
5858
"name": "Is my Game Server Online?",
5959
"value": "https://ismygameserver.online/${imgsoquerytype}/${alertip}:${queryport}",
60-
"inline": true
6160
}
6261
EOF
6362
)

0 commit comments

Comments
 (0)