anna-message: remove unnecessary block - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 894275782df6a352bff3f87a3f5dc0e99be4fb57 | |
parent 8e484562d07e5151fea52d7d8090d1acd643be78 | |
Author: Quentin Rameau <[email protected]> | |
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 <[email protected]> | |
Diffstat: | |
M annna-message-common | 6 ++---- | |
1 file changed, 2 insertions(+), 4 deletions(-) | |
--- | |
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-dif… | |
- } & | |
+ query=${text#**::} query=${query%%::*} | |
+ annna-say -s "${server}" -c "${channel}" "$(stable-diffusion-e… | |
fi | |
;; | |
*http*://*|*ytdl://*) |