From acee08defff8eff496674c332cc36c574d8b9812 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Sun, 12 May 2019 17:11:58 +0200 Subject: [PATCH] fix commands.sh in process_message --- bashbot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashbot.sh b/bashbot.sh index c86f652..b501600 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -397,7 +397,7 @@ process_client() { fi # Tmux copname="$ME"_"${CHAT[ID]}" - source commands.sh + source "${COMMANDS}" tmpcount="COUNT${CHAT[ID]}" grep -q "$tmpcount" <"${COUNTFILE}" >/dev/null 2>&1 || echo "$tmpcount">>"${COUNTFILE}" # To get user count execute bash bashbot.sh count