From 5cdb81e1ea3be106469572f70adb8a2d2e58528d Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 26 Apr 2020 03:08:44 -0400 Subject: [PATCH] use Nick() --- irc/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index 711df3a4..2933cc50 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -1412,7 +1412,7 @@ func listHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp if time.Since(client.ctime) < config.Channels.ListDelay && client.Account() == "" { remaining := time.Until(client.ctime.Add(config.Channels.ListDelay)) csNotice(rb, fmt.Sprintf(client.t("This server requires that you wait %v after connecting before you can use /LIST. You have %v left."), config.Channels.ListDelay, remaining)) - rb.Add(nil, server.name, RPL_LISTEND, client.nick, client.t("End of LIST")) + rb.Add(nil, server.name, RPL_LISTEND, client.Nick(), client.t("End of LIST")) return false }