mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
server: Require EX and IE capabilities (+e and +I cmodes).
The code to send each channel mode only to servers supporting it was broken a while ago and was not very useful anyway. Therefore, require all connecting servers to support all standard channel modes.
This commit is contained in:
parent
72ae8a1f7b
commit
d0c2fc8266
2 changed files with 6 additions and 4 deletions
|
@ -211,10 +211,10 @@ source: unregistered server
|
|||
propagation: none
|
||||
parameters: space separated capability list
|
||||
|
||||
Sends capabilities of the server. This must include QS and ENCAP. It is also
|
||||
strongly recommended to include EX, CHW, IE and KNOCK, and for charybdis TS6
|
||||
also SAVE and EUID. For use with services, SERVICES and RSFNC are strongly
|
||||
recommended.
|
||||
Sends capabilities of the server. This must include QS and ENCAP, and for
|
||||
charybdis TS6 also EX and IE. It is also strongly recommended to include EX,
|
||||
CHW, IE and KNOCK, and for charybdis TS6 also SAVE and EUID. For use with
|
||||
services, SERVICES and RSFNC are strongly recommended.
|
||||
|
||||
The capabilities may depend on the configuration for the server they are sent
|
||||
to.
|
||||
|
|
|
@ -127,6 +127,8 @@ init_builtin_capabs(void)
|
|||
CAP_MLOCK = capability_put(serv_capindex, "MLOCK");
|
||||
|
||||
capability_require(serv_capindex, "QS");
|
||||
capability_require(serv_capindex, "EX");
|
||||
capability_require(serv_capindex, "IE");
|
||||
capability_require(serv_capindex, "ENCAP");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue