martynsmith/node-irc — pull request #199 by sigv (2013-10-21 07:19:57+00:00)
Title: fixed SASL support

As of current master, with SASL enabled on an unsecure connection, `CAP REQ ::sasl` is sent. On a secure connection SASL is not used even when specified in the options. This pull request fixed both of these issues by simply sending a `CAP REQ :sasl ` on both connection types when `sasl` is set in options.