Avoid linkbrother when nospoil. Thanks adc! - 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 4f2ee15d6082e23e1a83f8059494d7c8384a39cc
(DIR) parent 9916f710b7f8ec7f152db7512f86a68e9f1d3adc
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 23 Aug 2023 22:08:43 +0200
Avoid linkbrother when nospoil. Thanks adc!
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/annna-message-common b/annna-message-common
@@ -247,7 +247,7 @@ for linkbrotherchannel in $linkbrotherchannels;
do
[ "$channel" = "$linkbrotherchannel" ] && runlinkbrother=1
done
-if [ $runlinkbrother -eq 1 ];
+if [ $runlinkbrother -eq 1 ] && [ $nospoil -eq 0 ];
then
critique=$($modbase/linkbrother/linkbrother.sh "$modbase/linkbrother/db" "$user" "$text")
if [ "$critique" ]; then