kiwiirc / irc-framework

🛠️ A better IRC framework for node.js. For bots and full clients.
MIT License
180 stars 62 forks source link

RPL_WHOISACTUALLY handler does not allow users to get the real username of users if present #363

Closed SadieCat closed 1 year ago

SadieCat commented 1 year ago

In the next major version of InspIRCd server operators will be able to see real usernames (e.g. from the result of an ident lookup) in RPL_WHOISACTUALLY (338) to allow them to ban/etc users by their actual username when they have a vident enabled. Currently irc-framework has no way for clients that wish to show that value to do so as it trims off the username if one is present.

Example traffic data showing the differing usernames action:

:testnet.inspircd.org 311 Sadie HexSadie sadie hex.chat * :HexSadie
:testnet.inspircd.org 338 Sadie HexSadie ~hexsadie@host86-144-159-223.range86-144.btcentralplus.com 86.144.159.223 :is connecting from

On older InspIRCd servers and other server implementations that send a username the same username as in RPL_WHOISUSER (311) is shown.