Remove incorrect AWAY TODO in downstreamConn.SendMessage
PRIVMSG/NOTICE get RPL_AWAY, not AWAY.
This commit is contained in:
parent
324d0fb0ac
commit
1507e88b36
@ -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"] {
|
||||
|
Loading…
Reference in New Issue
Block a user