Bug-fix: getuserdat() automatically calls resetdailyuserdat() when the laston
date is not the current date (thus resetting all daily stats like logons today, posts today, etc.) - but resetdailyuserdat() failed to save the reset stats to the user.dat file because user->number was 0 at this point in getuserdat(). This bug (reported by Finnigann) only effected non-BBS servers (like FTP, HTTP, etc.) since the BBS has its own checking of a new day and resetting of the daily stats for the user during logon (in logon.cpp).
Please register or sign in to comment