From ad8aae1708487aa4d2d99af7213f7d485c4c1a95 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 18 May 2013 17:52:17 +0200 Subject: Fix commit d1b37af Yeah, it doesn't work this way... Please look away. --- core/m_option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/m_option.c b/core/m_option.c index 2f6160c538..1d6c49e851 100644 --- a/core/m_option.c +++ b/core/m_option.c @@ -2205,7 +2205,7 @@ static int parse_obj_settings_list(const m_option_t *opt, struct bstr name, num++; } - if (op != OP_NONE && param.len == 0) + if (op != OP_NONE && num == 0) return M_OPT_MISSING_PARAM; if (dst) { -- cgit v1.2.3