diff options
Diffstat (limited to 'irc-client.js')
-rw-r--r-- | irc-client.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/irc-client.js b/irc-client.js index 9d0e616..275ee72 100644 --- a/irc-client.js +++ b/irc-client.js @@ -57,6 +57,10 @@ IrcClient.prototype.init = function(irc) { client.connect(); }, 1000); }); + /** + * Make sure that client.join() calls are respected even across + * reconnects. + */ irc.on('join', function(nick, channelName) { if(nick != irc.whoami()) { return; |