mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-18 10:26:01 -05:00
fix a typo in session manager
This commit is contained in:
parent
7e2246907b
commit
bb72264994
@ -78,7 +78,7 @@ func (m *SessionManager) CloseIfNoSession() bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(m.sessions) == 0 {
|
if len(m.sessions) > 0 {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user