From 2910eda73717c2b642478bf2530b496decf74d3f Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 6 Feb 2019 14:28:17 -0500 Subject: [PATCH] fix a nit --- irc/chanserv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/chanserv.go b/irc/chanserv.go index 6ba17931..333b3975 100644 --- a/irc/chanserv.go +++ b/irc/chanserv.go @@ -232,7 +232,7 @@ func csRegisterHandler(server *Server, client *Client, command string, params [] } // this provides the synchronization that allows exactly one registration of the channel: - err = channelInfo.SetRegistered(client.Account()) + err = channelInfo.SetRegistered(account) if err != nil { csNotice(rb, err.Error()) return