add comments, fix user expiry log spam
now actually removes the already deleted user from the expiry list.
This commit is contained in:
@@ -76,6 +76,7 @@ func (app *appContext) checkUsers() {
|
||||
}
|
||||
if !found {
|
||||
app.info.Printf("Expired user already deleted, ignoring.")
|
||||
delete(app.storage.users, id)
|
||||
continue
|
||||
}
|
||||
app.info.Printf("%s expired user \"%s\"", termPlural, user.Name)
|
||||
|
||||
Reference in New Issue
Block a user