honor appended -c option for --check

Signed-off-by: Uli Schlachter <psychon@znc.in>