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