summaryrefslogtreecommitdiff
path: root/lib/irc/shout.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-01-11 15:53:02 +0100
committerhref <href@random.sh>2021-01-11 15:53:02 +0100
commit0f3f0e035b43eabd3f739c41964446962cf54208 (patch)
tree9279c54e100c92375c9d980e2031e0a153245025 /lib/irc/shout.ex
parentSome fixes (diff)
Cont. wipmaster
Diffstat (limited to 'lib/irc/shout.ex')
-rw-r--r--lib/irc/shout.ex4
1 files changed, 2 insertions, 2 deletions
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