URI: 
       Do not select two times the brmember for a crime case. - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 6b3adf4b336373861a3081198653e881184b8e6b
   DIR parent dd675908db057161b0d1bce1ea3a61b86c8003e9
  HTML Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Mon,  8 Feb 2021 19:24:45 +0100
       
       Do not select two times the brmember for a crime case.
       
       Diffstat:
         M annna-start-services                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/annna-start-services b/annna-start-services
       @@ -245,7 +245,7 @@ annna_common() {
                        annna-say -c "${channel}" "${user}, ${rejection}"
                        ;;
                "${botname}, who fights crime?")
       -                partner=$(echo $brmembers | awk '{for (i = 1; i < NF; i++) print $i}' | sort -R | sed 1q)
       +                partner=$(echo $brmembers | grep -v "^${user}" | awk '{for (i = 1; i < NF; i++) print $i}' | sort -R | sed 1q)
                        crimefighter="$(theyfightcrime ${user} ${partner})"
                        annna-say -c "${channel}" "${crimefighter}"
                        ;;