Fixed onlyowner cupmode dependency

Signed-off-by: Gerco van Heerdt <gercovanheerdt@gmail.com>