1
0
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:
Darien Raymond
2017-04-19 12:11:59 +02:00
parent 7e2246907b
commit bb72264994

View File

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