Skip to content

Commit

Permalink
made 'query' (ServerQueryMessage) not require login
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Aug 23, 2015
1 parent 62aa86a commit 1ac027c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ public HandlerManager(Server server) {
Handlers handlers = new Handlers(server);

addUnauthorizedHandler("login", LoginMessage.class, handlers::loginMessage);
addUnauthorizedHandler("query", ServerQueryMessage.class, handlers::query);

addHandler("chat", ChatMessage.class, handlers::chat);
addHandler("startgame", StartGameRequest.class, handlers::play);
addHandler("inviteResponse", InviteResponse.class, handlers::inviteResponse);
addHandler("query", ServerQueryMessage.class, handlers::query);

// Directly game-related
addHandler("use", UseAbilityMessage.class, handlers::useAbility);
Expand Down

0 comments on commit 1ac027c

Please sign in to comment.