Remove unnecessary config variables
This commit is contained in:
parent
e130fb87b4
commit
3cdb83f092
4
bash/irc
4
bash/irc
|
@ -1,9 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
host=irc.libera.chat port=6667
|
host=irc.libera.chat port=6667
|
||||||
nick=bashbot ident=bashbot realname=bashbot
|
exec {sock}<>/dev/tcp/irc.libera.chat/6667
|
||||||
|
|
||||||
exec {sock}<>/dev/tcp/"$host"/"$port"
|
|
||||||
|
|
||||||
while IFS= read -ru "$sock" line; do
|
while IFS= read -ru "$sock" line; do
|
||||||
line=${line%$'\r'}
|
line=${line%$'\r'}
|
||||||
|
|
Loading…
Reference in New Issue