From 63bffae8c1db1e1e083ae3e30ef4566e9e3e36ca Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Fri, 16 Apr 2021 16:35:07 -0400 Subject: 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. --- handle.c | 1 - 1 file changed, 1 deletion(-) diff --git a/handle.c b/handle.c index 9f323d1..1a4face 100644 --- a/handle.c +++ b/handle.c @@ -498,7 +498,6 @@ static void handleInvite(struct Message *msg) { static void handleReplyInviting(struct Message *msg) { require(msg, false, 3); - if (self.caps & CapInviteNotify) return; struct Message invite = { .nick = self.nick, .user = self.user, -- cgit 1.4.1-2-gfad0