Make sure login works after logout

This commit is contained in:
Wim 2016-08-15 20:27:36 +02:00
parent 6c6000dbbd
commit 32e5f396e7
1 changed files with 1 additions and 0 deletions

View File

@ -586,6 +586,7 @@ func (m *MMClient) StatusLoop() {
m.log.Debug("WS PONG received")
case <-time.After(time.Second * 5):
m.Logout()
m.WsQuit = false
m.Login()
}
}