From 6d940c7cc869a999f0f2e303a0c77f6ba4adabd0 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Tue, 9 Jun 2020 22:45:34 +0200 Subject: [PATCH] fix jsshGetKey --- bashbot.sh | 2 +- modules/jsonDB.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 45abe09..c4b35a4 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -11,7 +11,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.96-pre-15-geace5e1 +#### $$VERSION$$ v0.96-pre-17-gdeeef7e # # Exit Codes: # - 0 sucess (hopefully) diff --git a/modules/jsonDB.sh b/modules/jsonDB.sh index ddba7ac..7d72e45 100644 --- a/modules/jsonDB.sh +++ b/modules/jsonDB.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.96-pre-2-g30b5b1a +#### $$VERSION$$ v0.96-pre-17-gdeeef7e # # source from commands.sh to use jsonDB functions # @@ -130,7 +130,7 @@ if _exists flock; then { flock -s -w 1 200 Json2Array "oldARR" <"${DB}" } 200>"${DB}${BASHBOT_LOCKNAME}" - printf '%f' "${oldARR["$1"]}" + printf '%s' "${oldARR["$1"]}" }