Remove unneeded quotes

This commit is contained in:
Nick Chambers 2021-07-19 09:31:40 -05:00
parent 8d48b4aadf
commit 7655bc56a3
1 changed files with 1 additions and 1 deletions

2
rowbot
View File

@ -954,7 +954,7 @@ factoids_cmd_ls() {
}
plugin_not_found_factoids() {
if [[ -f "${config[fact-root]}"/"${msg[to]}"/"$action" ]]; then
if [[ ${config[fact-root]} && -f ${config[fact-root]}/${msg[to]}/$action ]]; then
# The exit status isn't important here.
# shellcheck disable=SC2155
local fact=$(<"${config[fact-root]}"/"${msg[to]}"/"$action")