From 55d8eb5dce5f7a6d082dab9718cd96883277a58a Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Sat, 10 Jun 2017 17:07:44 -0600 Subject: [PATCH] Make 'nick' snomask look nicer --- irc/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/client.go b/irc/client.go index fdad1981..e3aa546f 100644 --- a/irc/client.go +++ b/irc/client.go @@ -437,7 +437,7 @@ func (client *Client) ChangeNickname(nickname string) error { err := client.server.clients.Replace(client.nick, nickname, client) if err == nil { client.server.logger.Debug("nick", fmt.Sprintf("%s changed nickname to %s", client.nick, nickname)) - client.server.snomasks.Send(sno.LocalNicks, fmt.Sprintf(ircfmt.Unescape("Nick changed $c[grey][$r%s$c[grey]] to [$r%s$c[grey]]"), client.nick, nickname)) + client.server.snomasks.Send(sno.LocalNicks, fmt.Sprintf(ircfmt.Unescape("$%s$r changed nickname to %s"), client.nick, nickname)) client.server.whoWas.Append(client) client.nick = nickname client.updateNickMask()