Revert to using /QUIT
This commit is contained in:
parent
df421ecaea
commit
f226962000
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user