mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
Oops
This commit is contained in:
parent
d38a5cdd99
commit
dc23087dbc
1 changed files with 1 additions and 1 deletions
2
relay.go
2
relay.go
|
@ -117,7 +117,7 @@ func (r *Relay) clientCommuncation(id int, connection net.Conn) {
|
|||
sendMessage("who?", connection)
|
||||
|
||||
m := strings.Split(receiveMessage(connection), ".")
|
||||
if len(m) != 3 {
|
||||
if len(m) < 3 {
|
||||
sendMessage("not enough information", connection)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue