git: 9front

Download patch

ref: adc608e8f12f5d236989ba00ca3adf240bdd268c
parent: a41098a75cfc8ee54bebd189ab5a77c383054e52
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Feb 12 13:40:20 EST 2015

ircrc: dont require nick and user to be the same for auth/userpasswd (thanks spew)

--- a/rc/bin/ircrc
+++ b/rc/bin/ircrc
@@ -228,7 +228,7 @@
 
 title
 userpass=`{auth/userpasswd 'server='^$server^' service=irc user='^$nick >[2]/dev/null}
-if(~ $#userpass 2 && ~ $nick $user) {
+if(~ $#userpass 2) {
 	nick=$userpass(1)
 	pass=$userpass(2)
 }
--