From: poy <po...@12...> - 2008-02-06 20:45:07
|
this implements a little todo that was left in AdcHub.cpp where QUI messages are handled. when the QUI message contains the DI flag, the user will now be disconnected if it's in no other hub. that doesn't conflict with the AUTO_KICK setting ("Automatically disconnect users who leave the hub") because that setting leaves a 1 minute delay between the moment the disconnection is detected and when the upload is actually stopped. here, we leave no dealy and no setting; if the hub included the DI flag, then we obey it. note that the ADC spec mentions "transfers" and not only "uploads", so downloads are disconnected too. untested, but it's small change and it should work... poy |