scttcper / irc

Irc client library for node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't join servers that have passwords?

erfg12 opened this issue · comments

I set up a private IRC server with a password. How do I specify one in the IrcClient? I see password, but I think this is for registered nicks.

allow {
	mask *;
	class clients;
	password "somesecretpasswd";
	maxperip 20;
}
const client = new IrcClient('localhost', "TestUser", {
            password: "somesecretpasswd",
            channels: [],
            port: 6697,
            secure: true,
            selfSigned: true
        });
        client.connect();
```