Introduction
Introduction Statistics Contact Development Disclaimer Help
Check for in pipe in channel join too. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 69d3ae2283452425d8f3e340f327e07371b085fc
parent 9e7649e869f12dbc695678d25ba521c541c4c70e
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 15 Oct 2023 12:10:35 +0200
Check for in pipe in channel join too.
Diffstat:
M annna-join-channels | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/annna-join-channels b/annna-join-channels
@@ -30,6 +30,15 @@ do
done
tries=0
+ while [ ! -e "${ircbase}/${server}/${chan}/in" ];
+ do
+ [ ! -f ${cfgbase}/running ] && exit 1
+ tries=$(($tries + 1))
+ [ $tries -gt $maxretries ] && exit 1
+ sleep 1
+ done
+
+ tries=0
## Check if we have joined and received the message from the server.
while [ -z "$(cat ${ircbase}/${server}/${chan}/out \
| head -n 1 \
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.