convert hard-coded strings to enums #2

Open
opened 2016-07-17 10:33:42 -07:00 by sm · 0 comments
Owner
err = c.Negotiate("spectator", c.Player)

should be:

err = c.Negotiate(hb.Spectator, c.Player)
err = c.Negotiate("spectator", c.Player) should be: err = c.Negotiate(hb.Spectator, c.Player)
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hackerbots/server#2
No description provided.