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

@ -1227,7 +1227,7 @@ func (am *AccountManager) Login(client *Client, account ClientAccount) {
return
}
client.nickTimer.Touch()
client.nickTimer.Touch(nil)
am.applyVHostInfo(client, account.VHost)
@ -1313,7 +1313,7 @@ func (am *AccountManager) logoutOfAccount(client *Client) {
}
client.SetAccountName("")
go client.nickTimer.Touch()
go client.nickTimer.Touch(nil)
// dispatch account-notify
// TODO: doing the I/O here is kind of a kludge, let's move this somewhere else