Don't quit ircrc on blank line (thanks Ray)

This commit is contained in:
khm 2014-11-07 12:51:16 -05:00
parent 797cc13c70
commit 39cabc7269

View file

@ -42,9 +42,10 @@ fn work {
target = `{echo $target | awk -F',' '{print $NF}'}
while () {
cmd=`{read}
s=$status
if(! ~ `{cat $netdir/status} *Established*)
exit
if(~ $#cmd 0) {
if(~ $s *eof) {
echo QUIT : Leaving... > $netdir/data
exit
}