projects
/
ssh-chat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50540d2
)
Fix hang condition on kick.
author
Andrey Petrov
<andrey.petrov@shazow.net>
Sun, 11 Jan 2015 22:31:51 +0000
(14:31 -0800)
committer
Andrey Petrov
<andrey.petrov@shazow.net>
Sun, 11 Jan 2015 22:31:51 +0000
(14:31 -0800)
chat/channel.go
patch
|
blob
|
history
diff --git
a/chat/channel.go
b/chat/channel.go
index 4fadb69dd2e6a9f0d23a9f1da22675c2a40d5fe7..a5fd0c35f4c96f8ece054184b9dfb3b3e022e0ef 100644
(file)
--- a/
chat/channel.go
+++ b/
chat/channel.go
@@
-93,7
+93,6
@@
func (ch *Channel) HandleMsg(m Message) {
}
err := user.Send(m)
if err != nil {
- ch.Leave(user)
user.Close()
}
})