commit 30b582d

Hubert Hirtz  ·  2020-08-24 17:03:26 +0000 UTC
parent 9421ec8
Drop username and hostname from TopicWho
1 files changed,  +1, -1
+1, -1
1@@ -720,7 +720,7 @@ func (s *Session) handle(msg Message) (err error) {
2 		channelCf := strings.ToLower(msg.Params[1])
3 		t, _ := strconv.ParseInt(msg.Params[3], 10, 64)
4 		if c, ok := s.channels[channelCf]; ok {
5-			c.TopicWho = msg.Params[2]
6+			c.TopicWho, _, _ = FullMask(msg.Params[2])
7 			c.TopicTime = time.Unix(t, 0)
8 			s.channels[channelCf] = c
9 		}