Always show 341 RPL_INVITING

At least in InspIRCd's implementation, you only get invite-notify
INVITEs if you are op, so inviting with no op (where allowed by a
channel mode) results in only a 341. On the other hand, inviting
as an op produces both a 341 and an INVITE, so will be displayed
twice, but showing something sometimes twice is better than not
showing it at all.
master
C. McEnroe 2021-04-16 16:35:07 -04:00
parent df6bc07f44
commit 63bffae8c1
1 changed files with 0 additions and 1 deletions

View File

@ -498,7 +498,6 @@ static void handleInvite(struct Message *msg) {
static void handleReplyInviting(struct Message *msg) { static void handleReplyInviting(struct Message *msg) {
require(msg, false, 3); require(msg, false, 3);
if (self.caps & CapInviteNotify) return;
struct Message invite = { struct Message invite = {
.nick = self.nick, .nick = self.nick,
.user = self.user, .user = self.user,