Make VPN kick message broadly applicable.
This commit is contained in:
parent
256d12c1d4
commit
7fb554bd2b
@ -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."
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user