0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 16:34:13 +01:00

server: As per the TS6 spec, require QS and ENCAP capabilities.

This commit is contained in:
Jilles Tjoelker 2012-12-19 14:53:06 +01:00
parent 22cae20f02
commit 58b60c20cb

View file

@ -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;