Don't quit ircrc on blank line (thanks Ray)
This commit is contained in:
parent
797cc13c70
commit
39cabc7269
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue