marvvin

IRC bot
Log | Files | Refs | README | LICENSE

commit 64eebf52e82d50c6f7e3fa60ad2ef26bcb3830bd
parent 1b49ad3e6715c68c421d606da2f890aa9ba5d29f
Author: hhvn <dev@hhvn.uk>
Date:   Wed,  2 Jun 2021 21:06:20 +0100

main.sh: swap in/out.log

Diffstat:
Mmain.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.sh b/main.sh @@ -27,9 +27,9 @@ do printf '%s\r\n' "NICK $nick" printf '%s\r\n' "USER $nick * * :${comment:-$nick}" ) | cat - $input | \ - tee $inlog | \ + tee $outlog | \ connect $server $port | \ - tee $outlog /dev/stderr | \ + tee $inlog /dev/stderr | \ while read -r line do . ./functions.sh