Fixed users download reset
This commit is contained in:
parent
85166dd9cb
commit
b58fb29f98
@ -46,6 +46,7 @@ v0.71.0 27-Oct-2004
|
||||
In change protocol, changed the colors.
|
||||
With user chat, the timeout timer wasn't refreshed.
|
||||
Improved test for users protocol available.
|
||||
Fixed download K and files setting for users on a new day.
|
||||
|
||||
mbnewusr:
|
||||
Rewrote terminal i/o.
|
||||
|
@ -414,8 +414,10 @@ void user()
|
||||
/*
|
||||
* Give user new bytes and files every day if needed.
|
||||
*/
|
||||
if (LIMIT.DownK && LIMIT.DownF) {
|
||||
if (LIMIT.DownK) {
|
||||
usrconfig.DownloadKToday = LIMIT.DownK;
|
||||
}
|
||||
if (LIMIT.DownF) {
|
||||
usrconfig.DownloadsToday = LIMIT.DownF;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user