diff options
author | Aaron Ball <nullspoon@iohq.net> | 2016-04-09 23:38:53 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@iohq.net> | 2016-04-09 23:38:53 -0600 |
commit | a0efae77e4b573864011edbcbee61cb85c82d343 (patch) | |
tree | c3b31424bb2241c4a0357fb269484f3d2c7da5ca | |
parent | 75aee1b827caeb06b77e4154b5a352ee4f481f1f (diff) | |
download | ircmsg-a0efae77e4b573864011edbcbee61cb85c82d343.tar.gz ircmsg-a0efae77e4b573864011edbcbee61cb85c82d343.tar.xz |
Added QUIT command
IRC server was logging read errors on ircmsg quit. This was due to it
not sending a quit command before closing the socket.
-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} } |