node-irc icon indicating copy to clipboard operation
node-irc copied to clipboard

Add WHOIS SSL response

Open codec opened this issue 11 years ago • 2 comments

The 275 shows whether a client is connected using SSL.

codec avatar Jan 25 '15 16:01 codec

Can you add tests for this, please?

ghost avatar Feb 08 '15 19:02 ghost

On freenode this reply seems to have numeric code 671, not 275.

Unhandled message: { prefix: 'wilhelm.freenode.net',
  server: 'wilhelm.freenode.net',
  command: '671',
  rawCommand: '671',
  commandType: 'normal',
  args: [ 'test-butler', 'ward', 'is using a secure connection' ] }

Is this even standardized somehow? I do not believe RFC 2812 specifies it.

After some googling: networks seem to have unofficially agreed upon 671. Only DALnet uses 275.


On the topic of the actual change. If you set it to true if the reply is present, then I would think it reasonable to expect an ssl: false field to be there otherwise.

ward avatar Mar 28 '16 10:03 ward