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.weechat-hashes
parent
df6bc07f44
commit
63bffae8c1
1
handle.c
1
handle.c
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue