From 88f8caad0b5e6de924cc6f830e191add8bc51782 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Mon, 19 Apr 2021 15:49:56 -0400 Subject: [PATCH] fix #1627 Fix incorrect description of channel ownership in NS INFO --- irc/nickserv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/nickserv.go b/irc/nickserv.go index 86ecb65d..6dcc23af 100644 --- a/irc/nickserv.go +++ b/irc/nickserv.go @@ -826,7 +826,7 @@ func nsInfoHandler(service *ircService, server *Server, client *Client, command func listRegisteredChannels(service *ircService, accountName string, rb *ResponseBuffer) { client := rb.session.client channels := client.server.accounts.ChannelsForAccount(accountName) - service.Notice(rb, fmt.Sprintf(client.t("You have %d registered channel(s)."), len(channels))) + service.Notice(rb, fmt.Sprintf(client.t("Account %s has %d registered channel(s)."), accountName, len(channels))) for _, channel := range rb.session.client.server.accounts.ChannelsForAccount(accountName) { service.Notice(rb, fmt.Sprintf(client.t("Registered channel: %s"), channel)) }