summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/app.go b/app.go
index 14c3885..5c72f3a 100644
--- a/app.go
+++ b/app.go
@@ -1531,15 +1531,15 @@ func (app *App) printTopic(netID, buffer string) (ok bool) {
topic = ui.IRCString(topic).String()
app.win.AddLine(netID, buffer, ui.Line{
At: time.Now(),
- Head: "topic",
+ Head: buffer,
HeadColor: tcell.ColorGray,
HeadTag: "topic",
Body: ui.Styled(topic, tcell.StyleDefault.Foreground(tcell.ColorWhite)),
})
if who != nil {
- body = fmt.Sprintf("%s at %s", who, at.Local().Format("Mon 2 Jan 15:04:05"))
+ body = fmt.Sprintf("topic set by %s at %s", who, at.Local().Format("Mon 2 Jan 15:04:05"))
} else {
- body = fmt.Sprintf("%s", at.Local().Format("Mon 2 Jan 15:04:05"))
+ body = fmt.Sprintf("topic set at %s", at.Local().Format("Mon 2 Jan 15:04:05"))
}
app.win.AddLine(netID, buffer, ui.Line{
At: time.Now(),