Ver código fonte

fix a typo in session manager

Darien Raymond 8 anos atrás
pai
commit
bb72264994
1 arquivos alterados com 1 adições e 1 exclusões
  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
 	}