• rswindell's avatar
    getuserdat() has better 'not logged on today' checking, but no longer writes · ed00ed77
    rswindell authored
    the reset daily stats back to the user.dat file ("get" implies read-only).
    The resetdailyuserdat() function now optionally doesn't write the reset values.
    Functions to that modify the user.dat (putuserdat, putuserrec, and
    adjustuserrec) now call a common function to notify nodes of externally
    modified user data (with the NODE_UDAT flag) and the current node *is* notified
    of external changes (e.g. allowing ;UEDIT changes to the useron to take effect).
getnode.cpp 16.9 KB