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:
parent
fd90893fa6
commit
904fa9653c
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user