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