aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-09 23:06:19 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-09 23:06:19 +0200
commitad4ebc21017e39bb8bc8a08a8985cc735914e9d4 (patch)
tree0f5271962373d0f68548ac855d032d32b11e254c
parent2eda3110b3bdf85f04682230ed60eb02b8a06510 (diff)
downloadxK-ad4ebc21017e39bb8bc8a08a8985cc735914e9d4.tar.gz
xK-ad4ebc21017e39bb8bc8a08a8985cc735914e9d4.tar.xz
xK-ad4ebc21017e39bb8bc8a08a8985cc735914e9d4.zip
degesch: fix crash when idle
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 7cffb3b..294afab 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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 ------------------------------------------------