persist cafe time

This commit is contained in:
wish
2022-10-24 16:51:56 +11:00
parent 50c8d39d7f
commit fda2e74442
2 changed files with 1 additions and 3 deletions

View File

@@ -105,8 +105,6 @@ func main() {
// Clear stale data
_ = db.MustExec("DELETE FROM sign_sessions")
_ = db.MustExec("DELETE FROM servers")
_ = db.MustExec("DELETE FROM cafe_accepted")
_ = db.MustExec("UPDATE characters SET cafe_time=0")
// Clean the DB if the option is on.
if config.ErupeConfig.DevMode && config.ErupeConfig.DevModeOptions.CleanDB {