From 30b582d3807092b84b2902c2118c2313af58bfc9 Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Mon, 24 Aug 2020 19:03:26 +0200 Subject: Drop username and hostname from TopicWho --- irc/states.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'irc/states.go') diff --git a/irc/states.go b/irc/states.go index 61d06a4..4dd0751 100644 --- a/irc/states.go +++ b/irc/states.go @@ -720,7 +720,7 @@ func (s *Session) handle(msg Message) (err error) { channelCf := strings.ToLower(msg.Params[1]) t, _ := strconv.ParseInt(msg.Params[3], 10, 64) if c, ok := s.channels[channelCf]; ok { - c.TopicWho = msg.Params[2] + c.TopicWho, _, _ = FullMask(msg.Params[2]) c.TopicTime = time.Unix(t, 0) s.channels[channelCf] = c } -- cgit v1.2.3