summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index 6d4c2f2..e42e4d9 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -115,7 +115,7 @@ void proto_recv_hello_server(client_t *client, char *msg)
name[STR_NAME_SIZE-1] = '\0';
}
- strcpy(client->tux->name, name);
+ tuxSetName(client->tux, name);
sendInfoCreateClient(client);
}