mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-14 11:48:26 +00:00
Use "-" to disable notification
This commit is contained in:
parent
6c320bc56f
commit
5b56379007
@ -522,7 +522,7 @@ function notifyOverride(){
|
||||
# Notification wrapper
|
||||
#
|
||||
function notify(){
|
||||
if [ -n "$1" ]; then
|
||||
if [[ -n "$1" && "$1" != "-" ]]; then
|
||||
local msg
|
||||
msg="${notifyTemplate:-Message from instance \`{instance\}\` on server \`{server\}\`: {msg\}}"
|
||||
msg="${msg//\{msg\}/${1}}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user