summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtzfr.eu>2020-08-24 19:03:26 +0200
committerHubert Hirtz <hubert@hirtzfr.eu>2020-08-24 19:03:26 +0200
commit30b582d3807092b84b2902c2118c2313af58bfc9 (patch)
treeec41f946a52ef1b475f671dfd82ff8d53e9f6256 /irc
parentImprove query display (diff)
Drop username and hostname from TopicWho
Diffstat (limited to 'irc')
-rw-r--r--irc/states.go2
1 files changed, 1 insertions, 1 deletions
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
}