Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an autoConnect callback? #239

Closed
ghost opened this issue Jun 2, 2014 · 2 comments
Closed

Is there an autoConnect callback? #239

ghost opened this issue Jun 2, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 2, 2014

With irc.Client autoConnect is there a callback if not can you add one.

I don't want to have to use the Client.join(channel, callback)

@ghost ghost changed the title Ias there an autoConnect callback? Is there an autoConnect callback? Jun 2, 2014
@osslate
Copy link
Collaborator

osslate commented Jun 2, 2014

A callback for what exactly? There's a registered callback that gets emitted when the 001 welcome message has been received. See https://node-irc.readthedocs.org/en/latest/API.html#'registered'

@jirwin
Copy link
Collaborator

jirwin commented Jan 10, 2015

Using the registered event is the proper way of dealing with this. Closing.

@jirwin jirwin closed this as completed Jan 10, 2015
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

No branches or pull requests

2 participants