Skip to content

Fix parsing RPL_WHOISACTUALLY on some networks.#415

Open
sadiepowell wants to merge 1 commit into
kiwiirc:masterfrom
sadiepowell:fix-whoisactually
Open

Fix parsing RPL_WHOISACTUALLY on some networks.#415
sadiepowell wants to merge 1 commit into
kiwiirc:masterfrom
sadiepowell:fix-whoisactually

Conversation

@sadiepowell

@sadiepowell sadiepowell commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Libera.Chat only sends an IP address and no hostname in this numeric. UnrealIRCd has also fixed their numeric reuse so I've updated the comment to reflect that.

Currently there are three valid forms of the numeric and all of these should now be supported:

  1. <source> 338 <target> <nick> <user>@<host> <ip> :Actual user@host, Actual IP
  2. <source> 338 <target> <nick> <host> <ip> :Actual user@host, Actual IP
  3. <source> 338 <target> <nick> <ip> :Actual IP

Tested using my fork of The Lounge.


Note: Event handlers in irc-fw are not particularly robust to unexpected behaviour from servers and it'd probably be good to have a method for command parameter validation that could check the parameter count and then on error dispatch to an common error event and throw something handleable by executeCommand. I can submit a pull request for this if you're interested.

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

Successfully merging this pull request may close these issues.

1 participant