Merge pull request #59 from FrozenOrb/hide-linked-ip-ban-removal-reasons

Don't show IP unban reasons if unbanned via linked punishment.
This commit is contained in:
Jonathan Halterman 2016-10-26 00:17:46 -04:00 committed by GitHub
commit 884e1fd7dd
1 changed files with 2 additions and 2 deletions

View File

@ -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 {
}
}
}