You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I issue a NICK command and later issue a JOIN command, the following exception is thrown:
node_modules/irc/lib/irc.js:549
throw err;
^
TypeError: Cannot read property 'users' of undefined
at Client.<anonymous> (/Users/atul/Documents/explorations/irc-fun/node_modules/irc/lib/irc.js:325:28)
at Client.emit (events.js:88:20)
at /Users/atul/Documents/explorations/irc-fun/node_modules/irc/lib/irc.js:546:22
at Array.forEach (native)
at Socket.<anonymous> (/Users/atul/Documents/explorations/irc-fun/node_modules/irc/lib/irc.js:543:15)
at Socket.emit (events.js:67:17)
at TCP.onread (net.js:362:31)
It looks like that's right here. The exception is being thrown because self.nick wasn't updated when the NICK command was issued.
The text was updated successfully, but these errors were encountered:
When I issue a
NICK
command and later issue aJOIN
command, the following exception is thrown:It looks like that's right here. The exception is being thrown because
self.nick
wasn't updated when theNICK
command was issued.The text was updated successfully, but these errors were encountered: