From 96e4df5b040f3ea7ce60a4322735f55f08ffb889 Mon Sep 17 00:00:00 2001 From: Jonathan Halterman Date: Tue, 25 Oct 2016 21:17:20 -0700 Subject: [PATCH] Don't show IP unban reasons if unbanned via linked punishment. --- src/main/java/net/frozenorb/apiv3/model/Punishment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/frozenorb/apiv3/model/Punishment.java b/src/main/java/net/frozenorb/apiv3/model/Punishment.java index ff46f9c..0394258 100644 --- a/src/main/java/net/frozenorb/apiv3/model/Punishment.java +++ b/src/main/java/net/frozenorb/apiv3/model/Punishment.java @@ -173,7 +173,7 @@ public final class Punishment { } 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) { callback.onResult(null, error2); } else { @@ -192,4 +192,4 @@ public final class Punishment { } -} \ No newline at end of file +}