3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-11 06:29:29 +01:00
This commit is contained in:
Shivaram Lingamneni 2020-04-06 13:10:38 -04:00
parent 377a40c4e9
commit 3f717436f8

View File

@ -302,7 +302,7 @@ func (client *Client) historyCutoff() (cutoff time.Time) {
func (client *Client) Logout() { func (client *Client) Logout() {
client.stateMutex.Lock() client.stateMutex.Lock()
client.account = "" client.account = ""
client.accountName = "" client.accountName = "*"
client.alwaysOn = false client.alwaysOn = false
client.accountRegDate = time.Time{} client.accountRegDate = time.Time{}
client.accountSettings = AccountSettings{} client.accountSettings = AccountSettings{}