fix: judgment condition always failure

This commit is contained in:
yr 2023-12-29 13:56:34 +08:00 committed by zhongwencool
parent da3937b80e
commit 37feeed560
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ kick_session(GwName, ClientId) ->
[] ->
{error, not_found};
ChanPids ->
ChanPids > 1 andalso
length(ChanPids) > 1 andalso
begin
?SLOG(
warning,