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,
a loopJune McEnroe 2017-07-31Track tile access countsJune McEnroe 2017-07-31Adjust move speed in clientJune McEnroe 2017-07-31Handle large movesJune McEnroe 2017-07-30Optimize builds for chrootJune McEnroe 2017-07-30Persist bright across color changesJune McEnroe 2017-07-30Add index.htmlJune McEnroe 2017-07-30Add snapshot.shJune McEnroe 2017-07-30Fix termcap patch for background colorsJune McEnroe 2017-07-30Update helpJune McEnroe 2017-07-30Fix help to track colorJune McEnroe 2017-07-30Support background colorsJune McEnroe 2017-07-30Track color only client-sideJune McEnroe 2017-07-30Add ostensible support for background colorsJune McEnroe 2017-07-30Add tile create and access timestampsJune McEnroe 2017-07-30Assert stable struct Tile field offsetsJune McEnroe 2017-07-30Add chroot.shJune McEnroe 2017-07-30Add ` commandJune McEnroe 2017-07-30Add sshd_configJune McEnroe 2017-07-30Add termcap patchJune McEnroen='3' class='logmsg'> Why was it down there? 2017-08-26Snapshot metadataJune McEnroe 2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe