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

This commit is contained in:
cinap_lenrek 2015-02-12 18:40:20 +01:00
parent 3805e56edc
commit 48c5cf1f11

View file

@ -228,7 +228,7 @@ if (~ $#* 1) {
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)
}