From b72071793b3fb9ff7961dbd061317274edc66f67 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Fri, 17 Jul 2020 22:14:33 -0700 Subject: [PATCH] Remove unnecessary kruft Signed-off-by: Alek Ratzloff --- lib/core/core.ex | 2 +- lib/irc/irc.ex | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/core/core.ex b/lib/core/core.ex index db05f60..469660e 100644 --- a/lib/core/core.ex +++ b/lib/core/core.ex @@ -2,7 +2,7 @@ defmodule Omnibot.Core do use Omnibot.Plugin alias Omnibot.State - @default_config [channels: :all] + @default_config channels: :all @impl true def on_join(irc, channel, nick) do diff --git a/lib/irc/irc.ex b/lib/irc/irc.ex index e06d393..4438aca 100644 --- a/lib/irc/irc.ex +++ b/lib/irc/irc.ex @@ -71,12 +71,6 @@ defmodule Omnibot.Irc do {:noreply, socket} end - @impl true - def handle_cast({:tcp, line}, socket) do - Logger.debug(line) - {:noreply, socket} - end - @impl true def handle_info({:tcp, _socket, line}, socket) do Logger.debug(String.trim(line))