diff options
Diffstat (limited to '')
-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") |