Fix radio service startup. - 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 f04b4dd68888067acf2805a42205cffee29e3e1b
 (DIR) parent c2781c22d1d949452881b27dae96a393b5213538
 (HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Tue, 14 Oct 2025 23:01:46 +0200
       
       Fix radio service startup.
       
       Diffstat:
         M annna-join-channels                 |       3 ++-
         M annna-message-radio                 |       2 +-
       
       2 files changed, 3 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/annna-join-channels b/annna-join-channels
       @@ -1,8 +1,9 @@
        #!/bin/sh
        
        # Channels
       -for IRC_CHANNEL in ${IRC_CHANNELS};
       +for channel in ${IRC_CHANNELS};
        do
       +        export IRC_CHANNEL="${channel}"
                printf "/j %s\n" "${IRC_CHANNEL}" > "${IRC_SERVERBASE}/in"
        
                # We are nice.
 (DIR) diff --git a/annna-message-radio b/annna-message-radio
       @@ -11,7 +11,7 @@ case "${IRC_PRIVMSG_TEXT}" in
        "${IRC_USER}, please toggle consume.") /usr/bin/mpc -q consume; exit;;
        "${IRC_USER}, please rescan.") /usr/bin/mpc -q rescan; exit;;
        "${IRC_USER}, how many people listen to the radio?") 
       -        annna-say -s "${IRC_SERVER}" -c "${IRC_CHANNEL}" "${IRC_CMD_USER}, $(/br/bin/bitreich-radio-listener-count)"
       +        annna-say "${IRC_CMD_USER}, $(/br/bin/bitreich-radio-listener-count)"
                exit;;
        "${IRC_USER}, please radio play "*)
                url="$(printf "%s\n" "${IRC_PRIVMSG_TEXT}" | cut -c 25- | sed 's,\t,    ,g')"