Forward NOTICE messages coming from upstream connections
This commit is contained in:
parent
85ffadea33
commit
2239b94399
@ -173,6 +173,10 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
|
||||
}
|
||||
case "NOTICE":
|
||||
uc.logger.Print(msg)
|
||||
|
||||
uc.forEachDownstream(func(dc *downstreamConn) {
|
||||
dc.SendMessage(msg)
|
||||
})
|
||||
case "CAP":
|
||||
var subCmd string
|
||||
if err := parseMessageParams(msg, nil, &subCmd); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user