diff --git a/goldlib/gcfg/gxhpt.cpp b/goldlib/gcfg/gxhpt.cpp index 75c699d..0d088f7 100644 --- a/goldlib/gcfg/gxhpt.cpp +++ b/goldlib/gcfg/gxhpt.cpp @@ -206,7 +206,7 @@ void gareafile::ReadHPTFile(char* path, char* file, char* origin, int group) { { int ver_maj, ver_min; sscanf(val, "%d.%d", &ver_maj, &ver_min); - if ((ver_maj != 0) and (ver_min != 15)) + if ((ver_maj != 0) and (ver_min >= 0) and (ver_min < 15)) { STD_PRINTNL("* Error: Unknown fidoconfig version " << ver_maj << '.' << ver_min << " - Skipping."); throw_xfree(alptr);