0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00
This commit is contained in:
Zack Scholl 2017-10-21 15:32:00 -06:00
parent d38a5cdd99
commit dc23087dbc

View file

@ -117,7 +117,7 @@ func (r *Relay) clientCommuncation(id int, connection net.Conn) {
sendMessage("who?", connection) sendMessage("who?", connection)
m := strings.Split(receiveMessage(connection), ".") m := strings.Split(receiveMessage(connection), ".")
if len(m) != 3 { if len(m) < 3 {
sendMessage("not enough information", connection) sendMessage("not enough information", connection)
return return
} }