fix jsshGetKey

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2020-06-09 22:45:34 +02:00
parent deeef7edc5
commit 6d940c7cc8
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
# This file is public domain in the USA and all free countries. # This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
# #
#### $$VERSION$$ v0.96-pre-15-geace5e1 #### $$VERSION$$ v0.96-pre-17-gdeeef7e
# #
# Exit Codes: # Exit Codes:
# - 0 sucess (hopefully) # - 0 sucess (hopefully)

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries. # This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # 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 # source from commands.sh to use jsonDB functions
# #
@ -130,7 +130,7 @@ if _exists flock; then
{ flock -s -w 1 200 { flock -s -w 1 200
Json2Array "oldARR" <"${DB}" Json2Array "oldARR" <"${DB}"
} 200>"${DB}${BASHBOT_LOCKNAME}" } 200>"${DB}${BASHBOT_LOCKNAME}"
printf '%f' "${oldARR["$1"]}" printf '%s' "${oldARR["$1"]}"
} }