diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 162b296eb..6dc40ca76 100755 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -78,6 +78,15 @@ fn_alert_config(){ alertbody="${selfname} has received a new _default.cfg. Check file for changes." } +if [ "${querymode}" == "2" ]||[ "${querymode}" == "3" ]; then + for queryip in "${queryips[@]}"; do + query_gamedig.sh + if [ "${querystatus}" == "0" ]; then + break + fi + done +fi + if [ "${alert}" == "permissions" ]; then fn_alert_permissions elif [ "${alert}" == "restart" ]; then diff --git a/lgsm/functions/alert_rocketchat.sh b/lgsm/functions/alert_rocketchat.sh index c93b02a84..302715b5c 100755 --- a/lgsm/functions/alert_rocketchat.sh +++ b/lgsm/functions/alert_rocketchat.sh @@ -14,12 +14,9 @@ fi json=$(cat <