Can't believe this bug is still around

This commit is contained in:
Hamcha 2016-02-10 16:31:14 +00:00
parent 03b197e9fd
commit 0e441c8048

View file

@ -60,7 +60,7 @@ func removeCon(c net.Conn) {
func broadcast(message string) {
for _, c := range clients {
_, err := fmt.Fprintf(c, message+"\r\n")
_, err := fmt.Fprintln(c, message)
if err != nil {
removeCon(c)
}