3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 20:09:41 +01:00

allow blank lines from the client

This commit is contained in:
Jeremy Latt 2014-02-16 22:24:49 -08:00
parent a894e3f37f
commit cd4503be31

View File

@ -60,6 +60,9 @@ func (socket *Socket) readLines() {
}
line = strings.TrimSpace(line)
if len(line) == 0 {
continue
}
if DEBUG_NET {
log.Printf("%s → %s", socket, line)
}