diff options
Diffstat (limited to 'jim-array.c')
-rw-r--r-- | jim-array.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jim-array.c b/jim-array.c index a0ccecd..a21099d 100644 --- a/jim-array.c +++ b/jim-array.c @@ -259,9 +259,7 @@ static const jim_subcmd_type array_command_table[] = { int Jim_arrayInit(Jim_Interp *interp) { - if (Jim_PackageProvide(interp, "array", "1.0", JIM_ERRMSG)) - return JIM_ERR; - + Jim_PackageProvideCheck(interp, "array"); Jim_CreateCommand(interp, "array", Jim_SubCmdProc, (void *)array_command_table, NULL); return JIM_OK; } |