From 91ad4c416345b32e90c02b3f25581a1c41e00053 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 23 Sep 2022 10:55:53 -0400 Subject: Handle missing LIST reply topic parameter --- handle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handle.c b/handle.c index bbb3c99..74c3a28 100644 --- a/handle.c +++ b/handle.c @@ -1055,13 +1055,13 @@ static void handleReplyInviteList(struct Message *msg) { } static void handleReplyList(struct Message *msg) { - require(msg, false, 4); + require(msg, false, 3); uiFormat( Network, Warm, tagTime(msg), "In \3%02d%s\3 are %ld under the banner: %s", hash(msg->params[1]), msg->params[1], strtol(msg->params[2], NULL, 10), - msg->params[3] + (msg->params[3] ?: "") ); } -- cgit 1.4.1