Fix typo in if caluse

Fixes #729

Signed-off-by: Florian Forster <octo@collectd.org>