Don't show DCC "Handshake failed" message twice
parse_offer_params() was being run unconditionally by check_dcc_init() even if it didn't find a custom init_func() to call, which is the usual case. It then gets called again by the hardwired DCC init function, which led to the error message appearing twice. This has check_dcc_init() only call parse_offer_params() when its about to dispatch to a custom init func. This also improves the message a bit (making it [host:port] rather than the other way around) and combines the 'privileged port' message and "zero address" message together.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
[Changes 1.2.2]
|
||||
|
||||
* Don't show DCC "Handshake failed" message twice, improve the message itself
|
||||
and use the same one for privileged port / zero address. (caf)
|
||||
|
||||
* Use the same format in /DCC LIST for all waiting offers and tweak
|
||||
the DCC_BAR_TYPE 1 format to show DCC state. (caf)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user