remove cookies when logout
@@ -1017,6 +1017,7 @@ func (m ChatMsg) String() string {
func (b *OGame) logout() {
_, _ = b.getPage(LogoutPage, CelestialID(0))
+ b.Client.Jar.(*cookiejar.Jar).RemoveAll()
if atomic.CompareAndSwapInt32(&b.isLoggedInAtom, 1, 0) {
select {
case <-b.closeChatCh:
