3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 11:59:40 +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.accountName = ""
client.alwaysOn = false
client.accountRegDate = time.Time{}
client.accountSettings = AccountSettings{}
client.stateMutex.Unlock()
}