Browse Source

fix a typo in session manager

Darien Raymond 8 năm trước cách đây
mục cha
commit
bb72264994
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 	}