mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-09 09:58:10 -07:00
ensure the nick timeout mechanism is cleaned up on client quit
This commit is contained in:
+2
-3
@@ -686,9 +686,8 @@ func (client *Client) destroy(beingResumed bool) {
|
||||
}
|
||||
|
||||
// clean up self
|
||||
if client.idletimer != nil {
|
||||
client.idletimer.Stop()
|
||||
}
|
||||
client.idletimer.Stop()
|
||||
client.nickTimer.Stop()
|
||||
|
||||
client.server.accounts.Logout(client)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user