]> jfr.im git - solanum.git/commitdiff
server: As per the TS6 spec, require QS and ENCAP capabilities.
authorJilles Tjoelker <redacted>
Wed, 19 Dec 2012 13:53:06 +0000 (14:53 +0100)
committerJilles Tjoelker <redacted>
Wed, 19 Dec 2012 13:53:06 +0000 (14:53 +0100)
src/s_serv.c

index 78eed13b4344cd8f7b49c467987950f25d63a2f1..8b4c48d7866ea04fb47c9580d462cbee7f7dd0a3 100644 (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;