degesch: fix crash when idle

This commit is contained in:
Přemysl Eric Janouch 2015-05-09 23:06:19 +02:00
parent 2eda3110b3
commit ad4ebc2101

View File

@ -2788,7 +2788,7 @@ on_irc_timeout (void *user_data)
{
// Provoke a response from the server
struct server *s = user_data;
irc_send (s, "PING :%s", get_config_string (s->ctx, s->irc_user->nickname));
irc_send (s, "PING :%s", s->irc_user->nickname);
}
// --- Processing server output ------------------------------------------------