anna-message: remove unnecessary block - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 894275782df6a352bff3f87a3f5dc0e99be4fb57
(DIR) parent 8e484562d07e5151fea52d7d8090d1acd643be78
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Sun, 19 Nov 2023 04:17:56 +0100
anna-message: remove unnecessary block
Not sure what was the original intent in 57c56bf,
but as the stable-diffusion command is already started
in the background, no need to do it twice.
Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
Diffstat:
M annna-message-common | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -50,10 +50,8 @@ case "${text}" in
then
annna-say -s "${server}" -c "${channel}" "${user}, no."
else
- {
- query=${text#**::} query=${query%%::*}
- annna-say -s "${server}" -c "${channel}" "$(stable-diffusion-emoji "${query}")" &
- } &
+ query=${text#**::} query=${query%%::*}
+ annna-say -s "${server}" -c "${channel}" "$(stable-diffusion-emoji "${query}")" &
fi
;;
*http*://*|*ytdl://*)