aboutsummaryrefslogtreecommitdiff
path: root/jim-pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'jim-pack.c')
-rw-r--r--jim-pack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/jim-pack.c b/jim-pack.c
index 0d1dd94..d87fd10 100644
--- a/jim-pack.c
+++ b/jim-pack.c
@@ -475,10 +475,7 @@ static int Jim_PackCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
int Jim_packInit(Jim_Interp *interp)
{
- if (Jim_PackageProvide(interp, "pack", "1.0", JIM_ERRMSG)) {
- return JIM_ERR;
- }
-
+ Jim_PackageProvideCheck(interp, "pack");
Jim_CreateCommand(interp, "unpack", Jim_UnpackCmd, NULL, NULL);
Jim_CreateCommand(interp, "pack", Jim_PackCmd, NULL, NULL);
return JIM_OK;