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

Subway should handle inncorrect server passwords #341

Open
tlaundal opened this issue May 13, 2014 · 0 comments
Open

Subway should handle inncorrect server passwords #341

tlaundal opened this issue May 13, 2014 · 0 comments

Comments

@tlaundal
Copy link
Contributor

When connecting to a bouncer(ZNC) with the wrong password, you get this error:

13 May 16:25:36 - SEND: PASS sorry - secret
13 May 16:25:36 - SEND: NICK totokaka
13 May 16:25:36 - SEND: USER totokaka 8 * Tobias
13 May 16:25:37 - Unhandled message: { prefix: 'irc.znc.in',
  server: 'irc.znc.in',
  command: 'err_passwdmismatch',
  rawCommand: '464',
  commandType: 'irc_error',
  args: [ 'totokaka', 'Invalid Password' ] }
{ prefix: 'irc.znc.in',
  server: 'irc.znc.in',
  command: 'err_passwdmismatch',
  rawCommand: '464',
  commandType: 'irc_error',
  args: [ 'totokaka', 'Invalid Password' ],
  client_server: 'irc.totokaka.io' }

/tmp/subway/node_modules/irc/lib/irc.js:664
                    throw err;
                          ^
TypeError: Cannot call method 'addMessage' of undefined
    at util.handle_irc (/tmp/subway/src/js/handle_irc.js:252:16)
    at Client.<anonymous> (/tmp/subway/lib/connection.js:69:7)
    at Client.EventEmitter.emit (events.js:117:20)
    at /tmp/subway/node_modules/irc/lib/irc.js:661:22
    at Array.forEach (native)
    at Socket.<anonymous> (/tmp/subway/node_modules/irc/lib/irc.js:655:15)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Socket.<anonymous> (_stream_readable.js:745:14)
    at Socket.EventEmitter.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:407:10)
(refactor= ab3af6e)[tobias@tobias-arch subway]$ 

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

1 participant