summaryrefslogtreecommitdiff
path: root/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'user.c')
-rw-r--r--user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/user.c b/user.c
index d6171a5..faf2245 100644
--- a/user.c
+++ b/user.c
@@ -32,6 +32,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->id = 0;
user->words = user->characters = user->kicks = user->kicked = user->monolog_lines = user->monologs = 0;
user->seen_first = user->seen_last = 0;
user->next = NULL;