Changeset 405 in code for trunk/bridge.go
- Timestamp:
- Aug 20, 2020, 9:12:54 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bridge.go
r349 r405 2 2 3 3 import ( 4 "strconv" 5 "strings" 6 4 7 "gopkg.in/irc.v3" 5 "strings"6 8 ) 7 9 … … 12 14 13 15 sendTopic(dc, ch) 14 15 // TODO: rpl_topicwhotime16 16 sendNames(dc, ch) 17 17 } … … 26 26 Params: []string{dc.nick, downstreamName, ch.Topic}, 27 27 }) 28 if ch.TopicWho != nil { 29 topicWho := dc.marshalUserPrefix(ch.conn.network, ch.TopicWho) 30 topicTime := strconv.FormatInt(ch.TopicTime.Unix(), 10) 31 dc.SendMessage(&irc.Message{ 32 Prefix: dc.srv.prefix(), 33 Command: rpl_topicwhotime, 34 Params: []string{dc.nick, downstreamName, topicWho.String(), topicTime}, 35 }) 36 } 28 37 } else { 29 38 dc.SendMessage(&irc.Message{
Note:
See TracChangeset
for help on using the changeset viewer.