summaryrefslogtreecommitdiff
path: root/lib/irc/connection_handler.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2018-05-02 19:03:35 +0200
committerhref <href@random.sh>2018-05-02 19:04:28 +0200
commita47dc245808921309f58e8b1c4b6fa028b2df073 (patch)
tree1842d413f2a43d3759b439417f053052b878a1f7 /lib/irc/connection_handler.ex
parent (diff)
meh
Diffstat (limited to '')
-rw-r--r--lib/irc/connection_handler.ex (renamed from lib/lsg_irc/connection_handler.ex)3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/lsg_irc/connection_handler.ex b/lib/irc/connection_handler.ex
index 8d07e58..1c335f2 100644
--- a/lib/lsg_irc/connection_handler.ex
+++ b/lib/irc/connection_handler.ex
@@ -1,4 +1,4 @@
-defmodule LSG.IRC.ConnectionHandler do
+defmodule IRC.ConnectionHandler do
defmodule State do
defstruct [:host, :port, :pass, :nick, :name, :user, :client]
end
@@ -14,7 +14,6 @@ defmodule LSG.IRC.ConnectionHandler do
end
def init([state]) do
- IO.puts inspect(state)
ExIRC.Client.add_handler state.client, self
ExIRC.Client.connect! state.client, state.host, state.port
{:ok, state}