aboutsummaryrefslogtreecommitdiffstats
path: root/src/client_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client_new.c')
-rw-r--r--src/client_new.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client_new.c b/src/client_new.c
index ffe7c7ce6..5b2dfde65 100644
--- a/src/client_new.c
+++ b/src/client_new.c
@@ -121,6 +121,10 @@ client_new(struct player_control *player_control,
client->send_buf_used = 0;
+ client->subscriptions = NULL;
+ client->messages = NULL;
+ client->num_messages = 0;
+
(void)send(fd, GREETING, sizeof(GREETING) - 1, 0);
client_list_add(client);