From bee55fec78b1bc2a60bc6c6d74f02fe188433b81 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Sat, 27 Jun 2020 12:49:20 +0200 Subject: [PATCH] use log_error in send_message.sh --- modules/sendMessage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/sendMessage.sh b/modules/sendMessage.sh index 2936589..2e89f37 100644 --- a/modules/sendMessage.sh +++ b/modules/sendMessage.sh @@ -5,7 +5,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v0.98-pre2-1-gc79031f +#### $$VERSION$$ v0.98-pre2-5-gc517129 # will be automatically sourced from bashbot @@ -138,7 +138,7 @@ if [ -z "${BASHBOT_WGET}" ] && _exists curl ; then } else send_album(){ - printf "%s: %s\n" "$(date)" "Sorry, wget Album upload not yet implemented\n" >>"${ERRORLOG}" + log_error "Sorry, wget Album upload not yet implemented" BOTSENT[OK]="false" [[ -z "${SOURCE}" && -n "${BASHBOT_EVENT_SEND[*]}" ]] && event_send "album" "$@" & }