From b58fb29f98caec1bf07bd9448e6c33990b87dc46 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 28 Nov 2004 19:59:35 +0000 Subject: [PATCH] Fixed users download reset --- ChangeLog | 1 + mbsebbs/user.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 38b6cd7f..5eec6b1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/mbsebbs/user.c b/mbsebbs/user.c index 16a07059..bc4a1960 100644 --- a/mbsebbs/user.c +++ b/mbsebbs/user.c @@ -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 */