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 --- command.c | 1 + 1 file changed, 1 insertion(+) (limited to 'command.c') diff --git a/command.c b/command.c index 1193615..3392fa9 100644 --- a/command.c +++ b/command.c @@ -149,6 +149,7 @@ static void commandMsg(uint id, char *params) { } static void commandJoin(uint id, char *params) { + if (!params && id == Network) params = self.invited; if (!params) params = idNames[id]; uint count = 1; for (char *ch = params; *ch && *ch != ' '; ++ch) { -- cgit 1.4.1-2-gfad0