fix : 채널 버그 수정
This commit is contained in:
@@ -47,8 +47,11 @@ public class ChannelManager
|
|||||||
|
|
||||||
public bool RemoveUser(long userId)
|
public bool RemoveUser(long userId)
|
||||||
{
|
{
|
||||||
// 채널 있으면
|
// 채널에 없는 유저면 스킵
|
||||||
int channelId = connectUsers[userId];
|
if (!connectUsers.TryGetValue(userId, out int channelId))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// 날린다.
|
// 날린다.
|
||||||
if (channelId >= 0)
|
if (channelId >= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user