add bitrocket to the client id's (you have to acknowledge the competition...)

This commit is contained in:
Mitchell Livingston 2006-09-07 21:42:41 +00:00
parent ea7759913d
commit 8aeb2fba5a
1 changed files with 5 additions and 0 deletions

View File

@ -67,6 +67,11 @@ char * tr_clientForId( uint8_t * id )
asprintf( &ret, "Bits on Wheels (%c%c)",
id[5], id[6] );
}
else if( !memcmp( &id[1], "BR", 2 ) )
{
asprintf( &ret, "BitRocket %c.%c (%d)",
id[3], id[4], ( id[5] - '0' ) * 10 + ( id[6] - '0' ) );
}
}
else if( !memcmp( &id[4], "----", 4 ) )
{