From 6a0ee2ac539f5fe4f394eaff4e82d396dd398646 Mon Sep 17 00:00:00 2001 From: Stefan Hagen Date: Sun, 24 Dec 2023 09:37:22 +0100 Subject: [PATCH] connect via TLS --- start.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/start.sh b/start.sh index 8bcee69..1062985 100755 --- a/start.sh +++ b/start.sh @@ -1,9 +1,9 @@ #!/bin/sh -BOTNICK="uugbot2" +BOTNICK="uugbot" SERVER="irc.uugrn.org" -PORT="6660" -CHANNEL="#bottest" +PORT="6670" +CHANNEL="#uugrn" BOTDIR="$PWD" @@ -183,9 +183,11 @@ cd "$BOTDIR" # available echo "connecting." -ii -i $BOTDIR/irc -s $SERVER -p $PORT -n $BOTNICK & +ii -i $BOTDIR/irc -s $SERVER -t -p $PORT -n $BOTNICK & PID=$! -sleep 1 + +# wait until the background process is ready +sleep 6 echo "/join $CHANNEL" > $BOTDIR/irc/$SERVER/in sleep 1 echo "ready."