1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05: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
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

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
}