Kaynağa Gözat

fix a typo in session manager

Darien Raymond 8 yıl önce
ebeveyn
işleme
bb72264994
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/proxyman/mux/session.go

+ 1 - 1
app/proxyman/mux/session.go

@@ -78,7 +78,7 @@ func (m *SessionManager) CloseIfNoSession() bool {
 		return true
 	}
 
-	if len(m.sessions) == 0 {
+	if len(m.sessions) > 0 {
 		return false
 	}