diff options
author | June McEnroe <june@causal.agency> | 2021-07-02 15:24:11 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-07-02 15:24:11 -0400 |
commit | 44457f85c6fce35498cff3b58aa635e84a56d40b (patch) | |
tree | 539837615e5f22265dec83da1c0db41c61c7f39f /command.c | |
parent | Move security to the features list (diff) | |
download | catgirl-44457f85c6fce35498cff3b58aa635e84a56d40b.tar.gz catgirl-44457f85c6fce35498cff3b58aa635e84a56d40b.zip |
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) { |