diff options
author | href <href@random.sh> | 2021-09-08 16:23:14 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-08 16:23:14 +0200 |
commit | d624f8a3f2f050532a7d2e75b5eab44a91de99e2 (patch) | |
tree | ed11007b00568a3deb07e59a3b3c21742c451e09 /lib/irc | |
parent | the bug and their fixies (diff) |
lol
Diffstat (limited to 'lib/irc')
-rw-r--r-- | lib/irc/connection.ex | 2 | ||||
-rw-r--r-- | lib/irc/puppet_connection.ex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/irc/connection.ex b/lib/irc/connection.ex index eae5362..0980262 100644 --- a/lib/irc/connection.ex +++ b/lib/irc/connection.ex @@ -248,7 +248,7 @@ defmodule IRC.Connection do # Connection successful def handle_info({:connected, server, port}, state) do - Logger.info("#{inspect(self())} Connected to #{server}:#{port} #{inspect state}") + Logger.info("#{inspect(self())} Connected to #{inspect(server)}:#{port} #{inspect state}") {_, backoff} = :backoff.succeed(state.backoff) ExIRC.Client.logon(state.client, state.conn.pass || "", state.conn.nick, state.conn.user, state.conn.name) {:noreply, %{state | backoff: backoff, connected_server: server, connected_port: port}} diff --git a/lib/irc/puppet_connection.ex b/lib/irc/puppet_connection.ex index 73622da..4604b04 100644 --- a/lib/irc/puppet_connection.ex +++ b/lib/irc/puppet_connection.ex @@ -188,7 +188,7 @@ defmodule IRC.PuppetConnection do # Connection successful def handle_info({:connected, server, port}, state) do - Logger.info("#{inspect(self())} Connected to #{server}:#{port} #{inspect state}") + Logger.info("#{inspect(self())} Connected to #{inspect(server)}:#{port} #{inspect state}") {_, backoff} = :backoff.succeed(state.backoff) base_nick = make_nick(state) ExIRC.Client.logon(state.client, "", suffix_nick(base_nick), base_nick, "#{base_nick}'s puppet") |