fix : 채널 버그 수정

This commit is contained in:
qornwh1
2026-03-05 16:34:33 +09:00
parent ea3f64a40d
commit d4c5a70a39

View File

@@ -47,8 +47,11 @@ public class ChannelManager
public bool RemoveUser(long userId)
{
// 채널 있으면
int channelId = connectUsers[userId];
// 채널에 없는 유저면 스킵
if (!connectUsers.TryGetValue(userId, out int channelId))
{
return false;
}
// 날린다.
if (channelId >= 0)