Remove unnecessary kruft
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ defmodule Omnibot.Core do
|
|||||||
use Omnibot.Plugin
|
use Omnibot.Plugin
|
||||||
alias Omnibot.State
|
alias Omnibot.State
|
||||||
|
|
||||||
@default_config [channels: :all]
|
@default_config channels: :all
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def on_join(irc, channel, nick) do
|
def on_join(irc, channel, nick) do
|
||||||
|
|||||||
@@ -71,12 +71,6 @@ defmodule Omnibot.Irc do
|
|||||||
{:noreply, socket}
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
|
||||||
def handle_cast({:tcp, line}, socket) do
|
|
||||||
Logger.debug(line)
|
|
||||||
{:noreply, socket}
|
|
||||||
end
|
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def handle_info({:tcp, _socket, line}, socket) do
|
def handle_info({:tcp, _socket, line}, socket) do
|
||||||
Logger.debug(String.trim(line))
|
Logger.debug(String.trim(line))
|
||||||
|
|||||||
Reference in New Issue
Block a user