diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/twitch/irc.cr | 2 |
1 files changed, 1 insertions, 1 deletions
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 |