CAP command errors in mIRC 7.05 Beta - 19/06/10 06:11 PM
I noticed this morning that my script that I have been using for the past 6 years failed to properly register on particular IRC networks while using Beta 7.05. I had never had any issues previously using prior versions including 6.35.
This seems to be specific to certain IRCD's. I have no issues connecting to the Twit or DALnet networks. However FreeNode and EFnet both exhibited problems.
To confirm, I have no ON LOGON events. If I disable raw (/raw off) completely I have no issues with the registration.
With RAW ON (/raw on) [Which DOES NOT register properly]:
With RAW off (/raw off) [which registers properly]
As you can see from the debug tracing 7.05 initiates a CAP LS but never completes the CAP envelope when raw is on.
To remedy this issue I had to add the following to my script:
This seems to be specific to certain IRCD's. I have no issues connecting to the Twit or DALnet networks. However FreeNode and EFnet both exhibited problems.
To confirm, I have no ON LOGON events. If I disable raw (/raw off) completely I have no issues with the registration.
With RAW ON (/raw on) [Which DOES NOT register properly]:
Code:
-> irc.freenode.net CAP LS -> irc.freenode.net NICK myn-test -> irc.freenode.net USER myn 0 * :myn <- :kornbluth.freenode.net NOTICE * :*** Looking up your hostname... <- :kornbluth.freenode.net NOTICE * :*** Checking Ident <- :kornbluth.freenode.net NOTICE * :*** Found your hostname <- :kornbluth.freenode.net NOTICE * :*** Got Ident response <- :kornbluth.freenode.net CAP * LS :identify-msg multi-prefix sasl
With RAW off (/raw off) [which registers properly]
Code:
-> irc.freenode.net CAP LS -> irc.freenode.net NICK myn-test -> irc.freenode.net USER myn 0 * :myn <- :wolfe.freenode.net NOTICE * :*** Looking up your hostname... <- :wolfe.freenode.net NOTICE * :*** Checking Ident <- :wolfe.freenode.net NOTICE * :*** Found your hostname <- :wolfe.freenode.net NOTICE * :*** Got Ident response <- :wolfe.freenode.net CAP * LS :identify-msg multi-prefix sasl -> irc.freenode.net CAP REQ :multi-prefix <- :wolfe.freenode.net CAP myn-test ACK :multi-prefix -> irc.freenode.net CAP END
As you can see from the debug tracing 7.05 initiates a CAP LS but never completes the CAP envelope when raw is on.
To remedy this issue I had to add the following to my script:
Code:
;mIRC 7.05 Beta additions to support registration on certian networks raw CAP:*LS*:{ .quote CAP REQ :multi-prefix } raw CAP:*ACK*:{ .quote CAP END }