summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-05-21 09:53:27 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-05-21 09:54:45 +0200
commita731c1d835a87141cbe13981f63c18c52f8b6d3b (patch)
tree82f6a573abb2d65d7e8e485632a327a491a3752f /app.go
parentHandle consecutive spaces on arg split (diff)
Remove parenthesis around notices
Reason: interaction with services don't render well with parenthesis
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.go b/app.go
index ef93e51..aebf157 100644
--- a/app.go
+++ b/app.go
@@ -697,13 +697,13 @@ func (app *App) formatMessage(ev irc.MessageEvent) (buffer string, line ui.Line,
body := strings.TrimSuffix(ev.Content, "\x01")
if isNotice && isAction {
c := ircColorSequence(ui.IdentColor(ev.User))
- body = fmt.Sprintf("(%s%s\x0F:%s)", c, ev.User, body[7:])
+ body = fmt.Sprintf("%s%s\x0F:%s", c, ev.User, body[7:])
} else if isAction {
c := ircColorSequence(ui.IdentColor(ev.User))
body = fmt.Sprintf("%s%s\x0F%s", c, ev.User, body[7:])
} else if isNotice {
c := ircColorSequence(ui.IdentColor(ev.User))
- body = fmt.Sprintf("(%s%s\x0F: %s)", c, ev.User, body)
+ body = fmt.Sprintf("%s%s\x0F: %s", c, ev.User, body)
}
line = ui.Line{