Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
when a irc client connects, autojoin to the users channels
Browse files Browse the repository at this point in the history
  • Loading branch information
thejh committed Nov 15, 2011
1 parent 60bb66d commit 205d497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ircwrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function makeClient(user, cb) {
var client = new irc.Client('irc.freenode.net', user.nick,
{ userName: 'ircbird-'+user.name
, realName: 'ircbird'
, channels: []
, channels: user.channels || []
})
client.on('connect', function() {
cb(null, client)
Expand Down

0 comments on commit 205d497

Please sign in to comment.