diff --git a/chat/command.go b/chat/command.go index 8f7b408..d8e9a5f 100644 --- a/chat/command.go +++ b/chat/command.go @@ -210,9 +210,9 @@ func InitCommands(c *Commands) { if cfg.Theme != nil { theme = cfg.Theme.ID() } - var output *strings.Builder - fmt.Fprintf(output, "Current theme: %s%s", theme, message.Newline) - fmt.Fprintf(output, " Themes available: ") + var output strings.Builder + fmt.Fprintf(&output, "Current theme: %s%s", theme, message.Newline) + fmt.Fprintf(&output, " Themes available: ") for i, t := range message.Themes { output.WriteString(t.ID())