3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00

fix a nit

This commit is contained in:
Shivaram Lingamneni 2019-02-06 14:28:17 -05:00
parent eff2571096
commit 2910eda737

View File

@ -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