diff --git a/daemon/irc_announce.c b/daemon/irc_announce.c index cc7e07293..4f6733585 100644 --- a/daemon/irc_announce.c +++ b/daemon/irc_announce.c @@ -192,7 +192,7 @@ static void handle_node_announcement( struct node *node = add_node(istate->dstate, pk, hostname, port); if (splits[4] != NULL){ tal_free(node->alias); - node->alias = tal_hexdata(node, splits[5], strlen(splits[4])); + node->alias = tal_hexdata(node, splits[4], strlen(splits[4])); } }