degesch: fix crash when idle
This commit is contained in:
parent
2eda3110b3
commit
ad4ebc2101
|
@ -2788,7 +2788,7 @@ on_irc_timeout (void *user_data)
|
||||||
{
|
{
|
||||||
// Provoke a response from the server
|
// Provoke a response from the server
|
||||||
struct server *s = user_data;
|
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 ------------------------------------------------
|
// --- Processing server output ------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue