Check flags.rest

line 167 - Gets the flag to determine if user is resting
line 213 - if the user is resting, dailies have no effect

https://github.com/lefnire/habitrpg/issues/997