summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xircmsg.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ircmsg.sh b/ircmsg.sh
index ce4448b..754d736 100755
--- a/ircmsg.sh
+++ b/ircmsg.sh
@@ -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}
}

Generated by cgit