3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

clear reg date and settings during logout

This commit is contained in:
Shivaram Lingamneni 2020-02-21 06:36:32 -05:00
parent fd90893fa6
commit 904fa9653c

View File

@ -318,6 +318,8 @@ func (client *Client) Logout() {
client.account = "" client.account = ""
client.accountName = "" client.accountName = ""
client.alwaysOn = false client.alwaysOn = false
client.accountRegDate = time.Time{}
client.accountSettings = AccountSettings{}
client.stateMutex.Unlock() client.stateMutex.Unlock()
} }