diff options
author | Joe Rayhawk <jrayhawk@action.fairlystable.org> | 2020-10-24 23:49:34 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@action.fairlystable.org> | 2020-10-24 23:49:34 -0700 |
commit | 97c900005f549a04787516f67ecfa60890c7b550 (patch) | |
tree | 0a01470e5091b3ec77f2fe08baa949c262e7b5ff | |
parent | bcb672d24cf67ac41ab67be0c65cf6908cef0984 (diff) | |
download | twitch-97c900005f549a04787516f67ecfa60890c7b550.tar.gz twitch-97c900005f549a04787516f67ecfa60890c7b550.zip |
Suppress password on debug output.
-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 |