From f226962000f913751532009515b8eb5ade78dffc Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 3 Feb 2020 05:20:45 +0100 Subject: [PATCH] Revert to using /QUIT --- src/deforaos-irc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deforaos-irc.sh b/src/deforaos-irc.sh index cfc3d15..1d1dc8b 100755 --- a/src/deforaos-irc.sh +++ b/src/deforaos-irc.sh @@ -23,7 +23,7 @@ NOTICE="/NOTICE" PREFIX="/var/tmp/ii" PRIVMSG="/j" PROGNAME="deforaos-irc.sh" -QUIT="/q" +QUIT="/QUIT" #executables CUT="cut" FORTUNE="fortune -s" @@ -121,7 +121,7 @@ _irc() #quit the server _info "$server: Disconnecting from server" fortune=$($FORTUNE | $HEAD -n 1 | $CUT -c 1-50) - echo "$QUIT $fortune" > "$serverin" + echo "$QUIT :$fortune" > "$serverin" #wait until the server is disconnected #FIXME ii does not automatically clean up when quitting loop=0