ircanywhere / irc-factory

A rebuilt irc-factory from simple-irc-socket and irc-message. Get support at #ircanywhere on freenode
https://ircanywhere.com
MIT License
60 stars 14 forks source link

Nickname in use not working #5

Closed Jazcash closed 10 years ago

Jazcash commented 10 years ago

So when trying to make the bot join the server with a nickname that's already in use:

TypeError: Property 'nick' of object #<Client> is not a function at Client._ircEvents.ERR_NICKNAMEINUSE (/home/....../node_modules/irc-factory/lib/irc.js:313:8)

So then I changed this.nick(nickname); on line 313 to: this.nick = nickname; and it didn't crash, but also didn't join the server or do anything.

rickihastings commented 10 years ago

Update your version this is fixed in latest release.

On 28 Feb 2014, at 13:01, Jazcash notifications@github.com wrote:

So when trying to make the bot join the server with a nickname that's already in use:

TypeError: Property 'nick' of object # is not a function at Client._ircEvents.ERR_NICKNAMEINUSE (/home/....../node_modules/irc-factory/lib/irc.js:313:8)

So then I changed this.nick(nickname); on line 313 to: this.nick = nickname; and it didn't crash, but also didn't join the server or do anything.

— Reply to this email directly or view it on GitHub.

Jazcash commented 10 years ago

Awesome, Thanks!