diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2009-09-06 16:53:24 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2009-09-06 16:53:24 +0200 |
commit | 27d37093ab87c2a1b8e846b4f4df83bf19ceba4c (patch) | |
tree | ed11a87c1b50b8f76fb569018ba51d08f068b507 /user.c | |
parent | d6c2fcddfdefedb68222e9c4163a765fe56dc8e9 (diff) |
Count the number of total characters per user.
Diffstat (limited to 'user.c')
-rw-r--r-- | user.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ struct user_t *user_get(char *_nick) { user->hash = hash; user->nick = strdup(nick); memset(user->lines, 0, 24*4 * sizeof(unsigned long)); - user->words = 0; + user->words = user->characters = 0; user->next = NULL; } |