Permalink
Browse files

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

  • Loading branch information...
1 parent 22cae20 commit 58b60c20cb6836ee6c5ed88d7baab7041878bc80 @jillest jillest committed Dec 19, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/s_serv.c
View
@@ -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;

0 comments on commit 58b60c2

Please sign in to comment.