From d624f8a3f2f050532a7d2e75b5eab44a91de99e2 Mon Sep 17 00:00:00 2001 From: href Date: Wed, 8 Sep 2021 16:23:14 +0200 Subject: lol --- lib/irc/connection.ex | 2 +- lib/irc/puppet_connection.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/irc') 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") -- cgit v1.2.3