summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/irc-server.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/irc/irc-server.c b/src/irc/irc-server.c
index 59c03bfa8..7ca269351 100644
--- a/src/irc/irc-server.c
+++ b/src/irc/irc-server.c
@@ -588,6 +588,12 @@ server_recv (t_irc_server *server)
server_msgq_add_buffer (server, buffer);
server_msgq_flush ();
}
+ else
+ {
+ gui_printf (server->buffer,
+ _("%s cannot read data from socket, disconnecting from server...\n"));
+ server_disconnect (server);
+ }
}
/*