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,10 +414,12 @@ void user()
|
||||
/*
|
||||
* Give user new bytes and files every day if needed.
|
||||
*/
|
||||
if (LIMIT.DownK && LIMIT.DownF) {
|
||||
if (LIMIT.DownK) {
|
||||
usrconfig.DownloadKToday = LIMIT.DownK;
|
||||
usrconfig.DownloadsToday = LIMIT.DownF;
|
||||
}
|
||||
if (LIMIT.DownF) {
|
||||
usrconfig.DownloadsToday = LIMIT.DownF;
|
||||
}
|
||||
}
|
||||
} /* End of else */
|
||||
|
||||
|
Reference in New Issue
Block a user