diff options
author | June McEnroe <june@causal.agency> | 2022-09-23 10:55:53 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-09-23 10:55:53 -0400 |
commit | 91ad4c416345b32e90c02b3f25581a1c41e00053 (patch) | |
tree | 267074b9b3dd528ae25e9c1ba5367699e5cde839 | |
parent | Make IRC Suite author consistent (diff) | |
download | catgirl-91ad4c416345b32e90c02b3f25581a1c41e00053.tar.gz catgirl-91ad4c416345b32e90c02b3f25581a1c41e00053.zip |
Handle missing LIST reply topic parameter
-rw-r--r-- | handle.c | 4 |
1 files 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] ?: "") ); } |