Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Handle UnrealIRCd Raw 307 unhandled message #49

Closed
vBm opened this issue Dec 10, 2017 · 1 comment
Closed

Handle UnrealIRCd Raw 307 unhandled message #49

vBm opened this issue Dec 10, 2017 · 1 comment
Labels

Comments

@vBm
Copy link

vBm commented Dec 10, 2017

Using npm version 0.8.1. and we get this error. Same issue was present since the start on the original project.

ERROR: Unhandled message: { prefix: 'irc.example.net',
  server: 'irc.example.net',
  command: '307',
  rawCommand: '307',
  commandType: 'normal',
  args: [ 'Bot', 'Bot', 'is identified for this nick' ] }

307 is defined here.

@Throne3d Throne3d added the bug label Dec 11, 2017
@Throne3d
Copy link
Owner

This appears to have conflicting definitions per https://www.alien.net.au/irc/irc2numerics.html:

  • RPL_USERIP (?)
  • RPL_WHOISREGNICK (Bahamut, Unreal)
  • RPL_SUSERHOST (AustHex)

For now, I think I'm just going to mark it as a reply type, rather than actually giving it a command name. This will prevent it from showing as an unhandled message like this, while still allowing the message to be detected by checking (in an event handler to the raw event) for messages with rawCommand set to "307"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants