diff options
-rwxr-xr-x | ircmsg.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -92,6 +92,9 @@ function main { # Send message to specified channel echo "PRIVMSG ${chan} ${msg}" >&${portfd} + # Send quit command + echo "QUIT :All done!" >&${portfd} + # Close up shop close_sock ${portfd} } |