Make VPN kick message broadly applicable.

This commit is contained in:
Jonathan Halterman 2016-09-08 03:53:56 -07:00 committed by GitHub
parent 256d12c1d4
commit 7fb554bd2b
1 changed files with 3 additions and 3 deletions

View File

@ -385,12 +385,12 @@ public final class User {
if (!userType.isAllowed()) { if (!userType.isAllowed()) {
proposedAccess = ImmutableMap.of( proposedAccess = ImmutableMap.of(
"allowed", false, "allowed", false,
"message", "You cannot join MineHQ from a VPN." "message", "You cannot join the server from a VPN."
); );
} else if (BannedAsn.findById(maxMindResult.getTraits().getAsn()) != null) { } else if (BannedAsn.findById(maxMindResult.getTraits().getAsn()) != null) {
proposedAccess = ImmutableMap.of( proposedAccess = ImmutableMap.of(
"allowed", false, "allowed", false,
"message", "You cannot join MineHQ from this ISP." "message", "You cannot join the server from this ISP."
); );
} }