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

View File

@ -385,12 +385,12 @@ public final class User {
if (!userType.isAllowed()) {
proposedAccess = ImmutableMap.of(
"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) {
proposedAccess = ImmutableMap.of(
"allowed", false,
"message", "You cannot join MineHQ from this ISP."
"message", "You cannot join the server from this ISP."
);
}