Skip to content

Added joins to password protected channels#75

Open
akainocode wants to merge 2 commits intoTennu:masterfrom
akainocode:patch-1
Open

Added joins to password protected channels#75
akainocode wants to merge 2 commits intoTennu:masterfrom
akainocode:patch-1

Conversation

@akainocode
Copy link

Adds the ability to join a password protected channel. In the config.json, instead of "#channel" one can use {"channel":"#channel", "password":"password"}

if(typeof(channel) === 'object'){
var info = channel;
rawf('JOIN %s :%s', info.channel, info.password);
}
Copy link
Member

Choose a reason for hiding this comment

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

Style: No newline after the closing brace for an if.

@akainocode akainocode force-pushed the patch-1 branch 2 times, most recently from e1b6b94 to 9cca8e9 Compare August 9, 2016 06:52
In the config.json, instead of "#channel" one can use {"channel":"#channel", "password":"password"}
@Havvy
Copy link
Member

Havvy commented Aug 20, 2016

This needs tests.

@VictorioBerra
Copy link
Contributor

@akainocode Can you add a few tests for this please?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants