connect via TLS
This commit is contained in:
parent
42106d11a6
commit
6a0ee2ac53
12
start.sh
12
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."
|
||||
|
Loading…
Reference in New Issue
Block a user