From b41d97e9abab5d8f7f48b9e18f138da6be810153 Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Sat, 27 Jun 2020 14:42:20 +0000 Subject: [PATCH] m_invite: remove redundant block of code missed by review I missed this due to refactoring in #341. This function is already called by the same function we're already in, just further down. [ci skip] --- modules/m_invite.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/m_invite.c b/modules/m_invite.c index 26c5024d..bbdee565 100644 --- a/modules/m_invite.c +++ b/modules/m_invite.c @@ -162,9 +162,6 @@ m_invite(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source sendto_one(source_p, form_str(ERR_CHANOPRIVSNEEDED), me.name, source_p->name, parv[2]); - if (MyClient(target_p)) - add_reply_target(target_p, source_p); - return; } }