mirror of https://github.com/ergochat/ergo.git
commit
c291a5a340
|
@ -302,7 +302,7 @@ func (client *Client) historyCutoff() (cutoff time.Time) {
|
||||||
func (client *Client) Logout() {
|
func (client *Client) Logout() {
|
||||||
client.stateMutex.Lock()
|
client.stateMutex.Lock()
|
||||||
client.account = ""
|
client.account = ""
|
||||||
client.accountName = ""
|
client.accountName = "*"
|
||||||
client.alwaysOn = false
|
client.alwaysOn = false
|
||||||
client.accountRegDate = time.Time{}
|
client.accountRegDate = time.Time{}
|
||||||
client.accountSettings = AccountSettings{}
|
client.accountSettings = AccountSettings{}
|
||||||
|
|
Loading…
Reference in New Issue