1
0
Fork 0
forked from External/ergo
This commit is contained in:
Shivaram Lingamneni 2019-04-14 18:13:01 -04:00
parent c2faeed4b5
commit 4af783ed9e
6 changed files with 23 additions and 9 deletions

View file

@ -451,7 +451,7 @@ func (client *Client) tryResume() (success bool) {
// this is a bit racey
client.resumeDetails.ResumedAt = time.Now()
client.nickTimer.Touch()
client.nickTimer.Touch(nil)
// resume successful, proceed to copy client state (nickname, flags, etc.)
// after this, the server thinks that `newClient` owns the nickname