Changeset 97 in code for trunk/upstream.go


Ignore:
Timestamp:
Mar 13, 2020, 3:39:49 PM (5 years ago)
Author:
contact
Message:

Forward NOTICE messages coming from upstream connections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r96 r97  
    174174        case "NOTICE":
    175175                uc.logger.Print(msg)
     176
     177                uc.forEachDownstream(func(dc *downstreamConn) {
     178                        dc.SendMessage(msg)
     179                })
    176180        case "CAP":
    177181                var subCmd string
Note: See TracChangeset for help on using the changeset viewer.