mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-14 00:23:34 -07:00
clear reg date and settings during logout
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user