diff options
-rw-r--r-- | zyklonb.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1484,7 +1484,8 @@ on_irc_timeout (void *user_data) { // Provoke a response from the server struct bot_context *ctx = user_data; - irc_send (ctx, "PING :%s", str_map_find (&ctx->config, "nickname")); + irc_send (ctx, "PING :%s", + (char *) str_map_find (&ctx->config, "nickname")); } static void |