Revert "m_invite: add support for CAP invite-notify"
This reverts commit 93eb76cc32
.
This commit is contained in:
parent
4cb0a93d25
commit
95cce5f358
3 changed files with 0 additions and 7 deletions
|
@ -449,7 +449,6 @@ struct ListClient
|
||||||
#define CLICAP_AWAY_NOTIFY 0x0010
|
#define CLICAP_AWAY_NOTIFY 0x0010
|
||||||
#define CLICAP_TLS 0x0020
|
#define CLICAP_TLS 0x0020
|
||||||
#define CLICAP_SASL_REAUTH 0x0040
|
#define CLICAP_SASL_REAUTH 0x0040
|
||||||
#define CLICAP_INVITE_NOTIFY 0x0080
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* flags macros.
|
* flags macros.
|
||||||
|
|
|
@ -77,7 +77,6 @@ static struct clicap
|
||||||
_CLICAP("extended-join", CLICAP_EXTENDED_JOIN, 0, 0, 0),
|
_CLICAP("extended-join", CLICAP_EXTENDED_JOIN, 0, 0, 0),
|
||||||
_CLICAP("away-notify", CLICAP_AWAY_NOTIFY, 0, 0, 0),
|
_CLICAP("away-notify", CLICAP_AWAY_NOTIFY, 0, 0, 0),
|
||||||
_CLICAP("tls", CLICAP_TLS, 0, 0, 0),
|
_CLICAP("tls", CLICAP_TLS, 0, 0, 0),
|
||||||
_CLICAP("invite-notify", CLICAP_INVITE_NOTIFY, 0, 0, 0),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))
|
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))
|
||||||
|
|
|
@ -212,11 +212,6 @@ m_invite(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
source_p->name, source_p->username, source_p->host,
|
source_p->name, source_p->username, source_p->host,
|
||||||
target_p->name, chptr->chname);
|
target_p->name, chptr->chname);
|
||||||
|
|
||||||
sendto_channel_local_with_capability_butone(target_p, ONLY_CHANOPS, CLICAP_INVITE_NOTIFY, NOCAPS, chptr,
|
|
||||||
":%s!%s@%s INVITE %s %s",
|
|
||||||
source_p->name, source_p->username, source_p->host,
|
|
||||||
target_p->name, chptr->chname);
|
|
||||||
|
|
||||||
if(store_invite)
|
if(store_invite)
|
||||||
add_invite(chptr, target_p);
|
add_invite(chptr, target_p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue