diff --git a/src/stats/client-reset.c b/src/stats/client-reset.c index 772288d7d1..4b19c757df 100644 --- a/src/stats/client-reset.c +++ b/src/stats/client-reset.c @@ -12,6 +12,10 @@ int client_stats_reset(struct client *client, const char *const *args ATTR_UNUSE { struct mail_global *g = &mail_global_stats; stats_reset(g->stats); + g->num_logins = 0; + g->num_cmds = 0; + g->reset_timestamp = ioloop_time; + memset(&(g->last_update), 0, sizeof(g->last_update)); o_stream_nsend_str(client->output, "OK\n"); return 0; }