summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-16 16:35:07 -0400
committerJune McEnroe <june@causal.agency>2021-04-16 16:39:24 -0400
commit63bffae8c1db1e1e083ae3e30ef4566e9e3e36ca (patch)
tree6ceba27c140747d7c58f77d0b83178ada457eaba /handle.c
parentSkip STATUSMSG prefixes (diff)
downloadcatgirl-63bffae8c1db1e1e083ae3e30ef4566e9e3e36ca.tar.gz
catgirl-63bffae8c1db1e1e083ae3e30ef4566e9e3e36ca.zip
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.
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c1
1 files changed, 0 insertions, 1 deletions
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,