degesch: fix confusing message

It seemed like we were connecting albeit we were connected already.
This commit is contained in:
Přemysl Eric Janouch 2017-04-20 20:25:55 +02:00
parent 1313a712df
commit 9f0c18cc41
Signed by: p
GPG Key ID: B715679E3A361BE6

View File

@ -4969,7 +4969,8 @@ static void
on_irc_ping_timeout (void *user_data)
{
struct server *s = user_data;
log_server_error (s, s->buffer, "Connection timeout");
log_server_error (s, s->buffer,
"%s: %s", "Disconnected from server", "timeout");
irc_disconnect (s);
}