diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-02-12 18:40:20 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-02-12 18:40:20 +0100 |
commit | 48c5cf1f11fb6b8b620e5ed9269a528b5f6633f4 (patch) | |
tree | 6bb2f460bab36ebba0bcb3d9fe093291b1e1da2c /rc/bin/ircrc | |
parent | 3805e56edc4f1f0f7426f9cf7278e18405ae66c4 (diff) | |
download | plan9front-48c5cf1f11fb6b8b620e5ed9269a528b5f6633f4.tar.xz |
ircrc: dont require nick and user to be the same for auth/userpasswd (thanks spew)
Diffstat (limited to 'rc/bin/ircrc')
-rwxr-xr-x | rc/bin/ircrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/ircrc b/rc/bin/ircrc index b0de9bc8a..4c8b92a92 100755 --- a/rc/bin/ircrc +++ b/rc/bin/ircrc @@ -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) } |