summaryrefslogtreecommitdiff
path: root/user.c
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-11-16 19:19:40 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-11-16 19:19:40 +0100
commit6a9af570e7288df584504c7167ba4c1f76cafced (patch)
treea33f85153d96c5d2987d8fbf5f815dc9f74fc697 /user.c
parent5af90fb735d357a729d02a661c92af6e865b6d3a (diff)
User lines and minor fixes.
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;