From 97c900005f549a04787516f67ecfa60890c7b550 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Sat, 24 Oct 2020 23:49:34 -0700 Subject: Suppress password on debug output. --- src/twitch/irc.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/twitch/irc.cr b/src/twitch/irc.cr index 4e43349..1261995 100644 --- a/src/twitch/irc.cr +++ b/src/twitch/irc.cr @@ -87,7 +87,7 @@ class Twitch::IRC::Client private def raw_write(command, params, prefix = nil, tags = nil) message = FastIRC::Message.new(command, params, prefix: prefix, tags: tags) - puts "< " + message.to_s if log_mode + puts "< " + message.to_s if log_mode && message.command != "PASS" connection.send(message) end end -- cgit v1.2.3