diff options
author | C. McEnroe | 2021-07-02 15:24:11 -0400 |
---|---|---|
committer | C. McEnroe | 2021-07-02 15:24:11 -0400 |
commit | 44457f85c6fce35498cff3b58aa635e84a56d40b (patch) | |
tree | 539837615e5f22265dec83da1c0db41c61c7f39f /command.c | |
parent | 54251acae34fe7d72f1f93a69158fbe16cc8a30e (diff) |
Save invited channel for /join
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |