mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-05 20:19:15 -04:00
fix a typo in session manager
This commit is contained in:
@@ -78,7 +78,7 @@ func (m *SessionManager) CloseIfNoSession() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
if len(m.sessions) == 0 {
|
||||
if len(m.sessions) > 0 {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user