mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-17 01:12:23 +03:00
Fix hang condition on kick.
This commit is contained in:
parent
50540d26e9
commit
b94911f052
@ -93,7 +93,6 @@ func (ch *Channel) HandleMsg(m Message) {
|
||||
}
|
||||
err := user.Send(m)
|
||||
if err != nil {
|
||||
ch.Leave(user)
|
||||
user.Close()
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user