Explorar el Código

fix missing err check, thanks @eklitzke

tags/v2.1.0-rc1
Shivaram Lingamneni hace 4 años
padre
commit
3d3aec6979
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      irc/socket.go

+ 1
- 1
irc/socket.go Ver fichero

@@ -216,7 +216,7 @@ func (socket *Socket) performWrite() (closed bool) {
216 216
 
217 217
 	var err error
218 218
 	if 0 < len(buffers) {
219
-		socket.conn.WriteBuffers(buffers)
219
+		err = socket.conn.WriteBuffers(buffers)
220 220
 	}
221 221
 
222 222
 	closed = closed || err != nil

Loading…
Cancelar
Guardar