Remove incorrect AWAY TODO in downstreamConn.SendMessage

PRIVMSG/NOTICE get RPL_AWAY, not AWAY.
This commit is contained in:
Simon Ser 2021-10-18 09:08:52 +02:00
parent 324d0fb0ac
commit 1507e88b36

View file

@ -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"] {