Don't show IP unban reasons if unbanned via linked punishment.
This commit is contained in:
parent
e082e69063
commit
96e4df5b04
@ -173,7 +173,7 @@ public final class Punishment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ipBan != null && ipBan.isActive()) {
|
if (ipBan != null && ipBan.isActive()) {
|
||||||
ipBan.delete(removedBy, "Linked punishment removed: " + reason, (ignored, error2) -> {
|
ipBan.delete(removedBy, "Linked punishment removed.", (ignored, error2) -> {
|
||||||
if (error2 != null) {
|
if (error2 != null) {
|
||||||
callback.onResult(null, error2);
|
callback.onResult(null, error2);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user