From 0f3f0e035b43eabd3f739c41964446962cf54208 Mon Sep 17 00:00:00 2001 From: href Date: Mon, 11 Jan 2021 15:53:02 +0100 Subject: Cont. wip --- lib/irc/shout.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/irc/shout.ex') diff --git a/lib/irc/shout.ex b/lib/irc/shout.ex index 912517c..bcfb10a 100644 --- a/lib/irc/shout.ex +++ b/lib/irc/shout.ex @@ -1,5 +1,5 @@ defmodule Irc.Shout do - alias Irc.{Connection, Parser.Line} + alias Irc.{Connection, Line} def shout(nick, host, target, message, opts \\ []) do opts = opts @@ -44,7 +44,7 @@ defmodule Irc.Shout do def await_join(conn, target) do receive do - {:irc_conn_line, conn, %Irc.Parser.Line{command: "JOIN", args: [target]}} -> :ok + {:irc_conn_line, conn, %Line{command: "JOIN", args: [target]}} -> :ok {:irc_conn_error, conn, reason} -> {:error, reason} {:DOWN, _, _, conn, reason} -> {:error, {:conn_down, reason}} after -- cgit v1.2.3