shithub: riscv

Download patch

ref: 68537b7e9663c45f106b45d368dc0911a1dd87f3
parent: 324ab59b0811bc42453a97c34138664b3c921e89
author: cinap_lenrek <[email protected]>
date: Fri Oct 12 15:13:34 EDT 2012

ircrc: fix spurious autojoin

--- a/rc/bin/ircrc
+++ b/rc/bin/ircrc
@@ -34,7 +34,7 @@
 	echo NICK $nick > $netdir/data
 	if (~ $#pass 1)
 		echo PRIVMSG 'nickserv :'identify $"pass > $netdir/data
-	if(~ $#target 1){
+	if(! ~ $target ''){
 		title
 		echo JOIN $target > $netdir/data
 	}