server: Fix required capabilities check if there is more than one capbility

atheme/charybdis@71eb2bb99b0cbbe09601c982e72ab2b86d5ecca1