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 /handle.c | |
parent | Move security to the features list (diff) | |
download | test-44457f85c6fce35498cff3b58aa635e84a56d40b.tar.gz test-44457f85c6fce35498cff3b58aa635e84a56d40b.zip |
Save invited channel for /join
Diffstat (limited to 'handle.c')
-rw-r--r-- | handle.c | 1 |
1 files changed, 1 insertions, 0 deletions
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", |