Skip to content

Commit

Permalink
Add tournament error for guests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheImmortal committed Jun 8, 2014
1 parent 914b9fb commit 678da1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/client-chat-tournament.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,10 @@
appendError("That isn't a valid tournament matchup.");
break;

case 'UserNotNamed':
appendError("You must have a name in order to join the tournament.");
break;

default:
appendError("Unknown error: " + data[0]);
break;
Expand Down

0 comments on commit 678da1d

Please sign in to comment.