05.09.2015, 13:04
Quote:
Color codes are filtered by the client. They're never even sent to the server. So, if my assumptions are correct: if the player only enters a color code then the server will receive an empty string. I suppose comparison of the input is done with strcmp. And as is noted on the wiki page for strcmp, it returns 0 (i.e. they are "the same") when either string is empty.
|