From 7a14403386c5467386d5402432bd3dfd49cc95b4 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 26 Dec 2019 13:57:59 -0500 Subject: Make sure context exists in handleReplyTopic --- litterbox.c | 1 + 1 file changed, 1 insertion(+) (limited to 'litterbox.c') diff --git a/litterbox.c b/litterbox.c index 1e49bf5..2a156b1 100644 --- a/litterbox.c +++ b/litterbox.c @@ -281,6 +281,7 @@ static void insertTopic( static void handleReplyTopic(struct Message *msg) { require(msg, false, 2); if (!strcmp(msg->cmd, "331")) msg->params[2] = ""; + insertContext(msg->params[1], false); insertTopic(msg->time, msg->params[1], msg->params[2]); } -- cgit 1.4.1