Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Bugfix -> important bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
EinfacheSache committed Jul 31, 2023
1 parent 2fb411f commit d6b0248
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.cubeattack</groupId>
<artifactId>neoprotect</artifactId>
<version>1.2.2-Beta</version>
<version>1.2.3-Beta</version>
<packaging>jar</packaging>

<name>NeoProtect</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception
});
}

public static boolean isIPInRange(String ipAddress, String ipRange) {
public static boolean isIPInRange(String ipRange, String ipAddress) {
if (!ipRange.contains("/")) {
ipRange = ipRange + "/32";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void channelRead(ChannelHandlerContext ctx, Object msg) {
}
}

public static boolean isIPInRange(String ipAddress, String ipRange) {
public static boolean isIPInRange(String ipRange, String ipAddress) {
if(!ipRange.contains("/")){
ipRange = ipRange + "/32";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception
});
}

public static boolean isIPInRange(String ipAddress, String ipRange) {
public static boolean isIPInRange(String ipRange, String ipAddress) {
if (!ipRange.contains("/")) {
ipRange = ipRange + "/32";
}
Expand Down

0 comments on commit d6b0248

Please sign in to comment.