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