commit 2df2295

delthas  ·  2023-11-13 12:33:18 +0000 UTC
parent e06eb23
Show only the topic creator nick on /TOPIC

We don't really care about the ident or host.
1 files changed,  +1, -1
M app.go
M app.go
+1, -1
1@@ -1578,7 +1578,7 @@ func (app *App) printTopic(netID, buffer string) (ok bool) {
2 	if who == nil {
3 		body = fmt.Sprintf("Topic: %s", topic)
4 	} else {
5-		body = fmt.Sprintf("Topic (by %s, %s): %s", who, at.Local().Format("Mon Jan 2 15:04:05"), topic)
6+		body = fmt.Sprintf("Topic (by %s, %s): %s", who.Name, at.Local().Format("Mon Jan 2 15:04:05"), topic)
7 	}
8 	app.win.AddLine(netID, buffer, ui.Line{
9 		At:        time.Now(),