git: 9front

Download patch

ref: 5a1eaf99eae75a325781049b09c8dc0e970ffd2d
parent: 6c9aa5a1afacf05ae70b0830b16fe518e8490988
author: khm <devnull@localhost>
date: Fri Nov 7 07:51:16 EST 2014

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

--- a/rc/bin/ircrc
+++ b/rc/bin/ircrc
@@ -42,9 +42,10 @@
 		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
 		}
--