Changeset 217 in code for trunk/downstream.go
- Timestamp:
- Apr 3, 2020, 7:00:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r216 r217 721 721 msg = msg.Copy() 722 722 switch msg.Command { 723 case "PRIVMSG" :723 case "PRIVMSG", "NOTICE": 724 724 msg.Prefix = dc.marshalUserPrefix(uc, msg.Prefix) 725 725 msg.Params[0] = dc.marshalEntity(uc, msg.Params[0]) 726 726 default: 727 panic( "expected to consume a PRIVMSG message")727 panic(fmt.Sprintf("unexpected %q message", msg.Command)) 728 728 } 729 729
Note:
See TracChangeset
for help on using the changeset viewer.