aeirola / slack-irc-client

Use Slack as your IRC client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Identifying via SASL

Tehnix opened this issue · comments

To connect to Freenode from an AWS instance, you need to identify via SASL. Is this supported currently, or would it be something that would be fairly trivial to add?

Actually, because of the way you just parse all options into JSON, it is already supported, just not documented.

From http://node-irc.readthedocs.io/en/latest/API.html#client you can see the options you need. My What I do string ended up looking like,

{
     "server": "irc.freenode.net", 
     "port": 6697, 
     "userName": "NICKNAME", 
     "nsPassword": "PASSWORD", 
     "sasl": true, 
     "nick": "NICKNAME",
     "password": "PASSWORD", 
     "realName": "MY REAL NAME", 
     "secure": true 
}

This should probably be documented. I'll add a PR.