From 887ab8c9596875262faee68e431571bff37e0af0 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 28 Mar 2020 15:27:49 -0700 Subject: [PATCH] Cleanup. --- src/main/java/net/thauvin/erik/mobibot/Utils.java | 1 - src/main/java/net/thauvin/erik/mobibot/commands/Info.kt | 1 - src/main/java/net/thauvin/erik/mobibot/commands/Versions.java | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/net/thauvin/erik/mobibot/Utils.java b/src/main/java/net/thauvin/erik/mobibot/Utils.java index 056d216..a7ccaa4 100644 --- a/src/main/java/net/thauvin/erik/mobibot/Utils.java +++ b/src/main/java/net/thauvin/erik/mobibot/Utils.java @@ -323,5 +323,4 @@ public final class Utils { public static String utcDateTime(final LocalDateTime date) { return date.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm")); } - } diff --git a/src/main/java/net/thauvin/erik/mobibot/commands/Info.kt b/src/main/java/net/thauvin/erik/mobibot/commands/Info.kt index 9bc4715..261e35e 100644 --- a/src/main/java/net/thauvin/erik/mobibot/commands/Info.kt +++ b/src/main/java/net/thauvin/erik/mobibot/commands/Info.kt @@ -35,7 +35,6 @@ package net.thauvin.erik.mobibot.commands import net.thauvin.erik.mobibot.Mobibot import net.thauvin.erik.mobibot.Utils import net.thauvin.erik.mobibot.commands.links.UrlMgr -import org.jibble.pircbot.Colors import java.lang.management.ManagementFactory class Info : AbstractCommand() { diff --git a/src/main/java/net/thauvin/erik/mobibot/commands/Versions.java b/src/main/java/net/thauvin/erik/mobibot/commands/Versions.java index cdc15a2..077c985 100644 --- a/src/main/java/net/thauvin/erik/mobibot/commands/Versions.java +++ b/src/main/java/net/thauvin/erik/mobibot/commands/Versions.java @@ -91,7 +91,7 @@ public class Versions extends AbstractCommand { bot.send(sender, v); } } else { - bot.helpDefault(sender, isOp); + bot.helpDefault(sender, false); } }