ircrc_server_password_support

Sat, 19 Sep 2015 13:23:41 EDT
nick@[REDACTED]

Per RFC1459, should be pretty straightforward, tested with Slack Got tired of adding this every time I did a fresh install :P


patch:

—– a/rc/bin/ircrc +++ b/rc/bin/ircrc @@ -11,6 +11,7 @@ nick=$user pass=() tls=0 +serverpass=()

fn sighup {

exit 'hang up'

@@ -31,6 +32,8 @@ }

fn work { + if(~ $#serverpass 1) + echo PASS $serverpass > $netdir/data

echo USER $user foo bar :$realname > $netdir/data
echo NICK $nick > $netdir/data
if (~ $#pass 1)

@@ -200,6 +203,9 @@

case -p
    port=$2
    shift

Sat, 19 Sep 2015 14:05:26 EDT
sl@[REDACTED]

Applied with changeset: 4877:dab0990bfc87.