Commit 158be7e5 authored by Rémi Duraffort's avatar Rémi Duraffort

Lua: fix interface selection.

parent f5c7b6ff
......@@ -93,7 +93,7 @@ static const char *WordInList( const char *psz_list, const char *psz_word )
return psz_list;
psz_list = end + 1;
}
return strcmp( psz_list, psz_word ) ? psz_list : NULL;
return !strcmp( psz_list, psz_word ) ? psz_list : NULL;
}
static char *GetModuleName( intf_thread_t *p_intf )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment