Skip to content

Only set IRC password in credentials if defined#301

Open
silverbucket wants to merge 1 commit intomasterfrom
fix/irc-password-only-if-set
Open

Only set IRC password in credentials if defined#301
silverbucket wants to merge 1 commit intomasterfrom
fix/irc-password-only-if-set

Conversation

@silverbucket
Copy link
Member

No description provided.

nick: account.nickname,
// username: account.username,
password: account.password
...(account.password && { password: account.password }),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the property is undefined, then the password there would be set to undefined, i.e. not set. Or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments