From 1507e88b365979251ca7a89b8f913bbe73763d3f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 18 Oct 2021 09:08:52 +0200 Subject: [PATCH] Remove incorrect AWAY TODO in downstreamConn.SendMessage PRIVMSG/NOTICE get RPL_AWAY, not AWAY. --- downstream.go | 1 - 1 file changed, 1 deletion(-) diff --git a/downstream.go b/downstream.go index c37a599..69a2e84 100644 --- a/downstream.go +++ b/downstream.go @@ -411,7 +411,6 @@ func (dc *downstreamConn) SendMessage(msg *irc.Message) { return } if msg.Command == "AWAY" && !dc.caps["away-notify"] { - // TODO: we can send AWAY if we just sent a PRIVMSG/NOTICE to this user return } if msg.Command == "ACCOUNT" && !dc.caps["account-notify"] {