Skip to content

Commit

Permalink
make the bot print its name
Browse files Browse the repository at this point in the history
  • Loading branch information
neuschaefer committed Apr 18, 2010
1 parent ee911ba commit cc434b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);


Expand Down

0 comments on commit cc434b8

Please sign in to comment.