diff --git a/client/client.go b/client/client.go index 13855ddd..84c9b96e 100644 --- a/client/client.go +++ b/client/client.go @@ -961,6 +961,7 @@ func (c *QQClient) netLoop() { } }() } + c.Online = false _ = c.Conn.Close() if c.lastLostMsg == "" { c.lastLostMsg = "Connection lost."