summaryrefslogtreecommitdiff
path: root/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'user.c')
-rw-r--r--user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user.c b/user.c
index edb8fb3..ce6f6fc 100644
--- a/user.c
+++ b/user.c
@@ -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;
}