aboutsummaryrefslogtreecommitdiff
path: root/zyklonb.c
diff options
context:
space:
mode:
Diffstat (limited to 'zyklonb.c')
-rw-r--r--zyklonb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zyklonb.c b/zyklonb.c
index fde8a02..806de8b 100644
--- a/zyklonb.c
+++ b/zyklonb.c
@@ -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