mIRC Home    About    Download    Register    News    Help

Print Thread
CAP message in status window #270500 11/07/22 09:25 PM
Joined: Jul 2006
Posts: 3,930
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,930
When (at least) services/chanserv rejoin a server after a netsplit, they currently (bad, but in the specs) broadcast back to all clients that they support SASL via a CAP message.
This CAP message is displayed in the status window as is, not in an explicit error/state/info message
Is it on purpose that the message is displayed, shouldn't be mIRC hiding it?

Quote
[06:06:49] CAP DEL sasl
[06:09:09] CAP NEW sasl=EXTERNAL,PLAIN
[19:36:07] CAP NEW sasl
[19:36:47] CAP NEW sasl
If on purpose, could we get an option to hide them?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Re: CAP message in status window [Re: Wims] #270503 14/07/22 09:52 AM
Joined: Dec 2002
Posts: 5,150
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,150
Currently, mIRC only hides CAP events during CAP negotiation while logging on.

After logon, mIRC assumes that any further CAP events should be displayed since they are likely being initiated by the user with the /cap command, in which case the user would want to see the results.

I could change this to hide the NEW/DEL events, assuming that these are only ever initiated by the server. However, if mIRC sees a NEW that offers a feature it can use, it will enable it, and the CAP results for that will be displayed.

All other CAP events, apart from NEW/DEL, will continue to be displayed.