|
From: Jacek S. <arn...@gm...> - 2008-03-26 21:40:27
|
Found this one in the inbox...I guess you're right about disconnecting both up&downloads...
/J
poy wrote:
> 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
>
|