mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
server: As per the TS6 spec, require QS and ENCAP capabilities.
This commit is contained in:
parent
22cae20f02
commit
58b60c20cb
1 changed files with 3 additions and 0 deletions
|
@ -124,6 +124,9 @@ init_builtin_capabs(void)
|
|||
CAP_EOPMOD = capability_put(serv_capindex, "EOPMOD");
|
||||
CAP_BAN = capability_put(serv_capindex, "BAN");
|
||||
CAP_MLOCK = capability_put(serv_capindex, "MLOCK");
|
||||
|
||||
capability_require(serv_capindex, "QS");
|
||||
capability_require(serv_capindex, "ENCAP");
|
||||
}
|
||||
|
||||
static CNCB serv_connect_callback;
|
||||
|
|
Loading…
Reference in a new issue