diff --git a/bash/irc b/bash/irc index 8c7e022..b1d57ca 100755 --- a/bash/irc +++ b/bash/irc @@ -1,9 +1,7 @@ #!/usr/bin/env bash host=irc.libera.chat port=6667 -nick=bashbot ident=bashbot realname=bashbot - -exec {sock}<>/dev/tcp/"$host"/"$port" +exec {sock}<>/dev/tcp/irc.libera.chat/6667 while IFS= read -ru "$sock" line; do line=${line%$'\r'}