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

PRIVMSG that starts with : causes crash #173

Closed
spunone opened this issue Jun 21, 2013 · 2 comments
Closed

PRIVMSG that starts with : causes crash #173

spunone opened this issue Jun 21, 2013 · 2 comments

Comments

@spunone
Copy link

spunone commented Jun 21, 2013

I've only noticed this with privmsg, and I'm listening for "message" events. A privmsg to a channel or directly to the bot that starts with a colon causes a crash. It's particularly entertaining when someone puts a sad face in the channel like this: :(

... and then the bot dies.

I've worked around it for now with this:

bot.on('error', function(e) {
console.log(e);
});

@katanacrimson
Copy link
Contributor

Should've been fixed by #137, I thought.

Are you using the latest version of node-irc?

@spunone
Copy link
Author

spunone commented Jun 21, 2013

Ah, you're correct, I was foolishly using the version from npm. I cloned the latest from the repo and it's sorted out now.

@spunone spunone closed this as completed Jun 21, 2013
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