There is no way to determine you joined a channel. - 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 4802fdc492ece81669365faebead7efb5cb43197
(DIR) parent f3d26842d5e8b3695eb3cd2d0cf8c83ae2f40565
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Sun, 2 Jan 2022 09:09:34 +0100
There is no way to determine you joined a channel.
Remove quirked logic to check if join is successful.
Diffstat:
M annna-join-channels | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
(DIR) diff --git a/annna-join-channels b/annna-join-channels
@@ -25,13 +25,8 @@ do
sleep 1
done
- ## Make sure we are in the channel, for the services.
- while [ -z "$(grep " JOIN :${chan}" \
- ${ircbase}/${server}/out)" ];
- do
- [ ! -f ${cfgbase}/running ] && exit 1
- sleep 1
- done
+ # There is no guaranteed way to make sure, you are in some channel.
+ sleep 2
annna-start-service "${server}" "${chan}"
done