startup.lua in scripting plugin breaks handshake with ADC hubs
Bug #1386172 reported by
RoLex
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
New
|
Undecided
|
Unassigned |
Bug Description
Default startup.lua script included with ScriptPlugin breaks the handshake with any ADC(S) hub. Function adch.DataArrival checks for empty protocol message and returns nil in that case. For some reason this breaks the client to hub handshake. To fix this, function needs to return 1 instead.
This bug was reproduces with DC++ 0.843 and ApexDC++ 1.6.0, both x64 builds running on Windows 7.
My initial thread on ApexDC++ forum: http://
To post a comment you must log in.
thanks for investigating... why does the script get called with an empty message, though? maybe it's not the script that needs fixing but its callers?