fix a nit

This commit is contained in:
Shivaram Lingamneni 2019-02-06 14:28:17 -05:00
parent eff2571096
commit 2910eda737
1 changed files with 1 additions and 1 deletions

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: // this provides the synchronization that allows exactly one registration of the channel:
err = channelInfo.SetRegistered(client.Account()) err = channelInfo.SetRegistered(account)
if err != nil { if err != nil {
csNotice(rb, err.Error()) csNotice(rb, err.Error())
return return