From 44457f85c6fce35498cff3b58aa635e84a56d40b Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Fri, 2 Jul 2021 15:24:11 -0400 Subject: Save invited channel for /join --- handle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'handle.c') diff --git a/handle.c b/handle.c index bfe6e8c..a8f054c 100644 --- a/handle.c +++ b/handle.c @@ -479,6 +479,7 @@ static void handleQuit(struct Message *msg) { static void handleInvite(struct Message *msg) { require(msg, true, 2); if (!strcmp(msg->params[0], self.nick)) { + set(&self.invited, msg->params[1]); uiFormat( Network, filterCheck(Hot, Network, msg), tagTime(msg), "\3%02d%s\3\tinvites you to \3%02d%s\3", -- cgit 1.4.1-2-gfad0