From cc434b89ff81eee0a3f67a2c65f4c35166d09c94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Sun, 18 Apr 2010 12:01:15 +0100 Subject: [PATCH] make the bot print its name --- bot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.c b/bot.c index 5fdde47..6c626a1 100644 --- a/bot.c +++ b/bot.c @@ -269,6 +269,8 @@ static char * contact_server(int color, char *name) packet[4]=color; memcpy(packet+5,name,l); + printf("Using name \"%s\".\n", packet+5); + send_packet(packet,l+5,(struct sockaddr*)(&server),my_id,0);