summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vfs/UVFSCore.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas
index 7b4a110..7516544 100644
--- a/vfs/UVFSCore.pas
+++ b/vfs/UVFSCore.pas
@@ -1138,7 +1138,7 @@ begin
if ModuleHandler = nil then DebugMsg([' XXX Error loading module: ', dlerror])
else try
@VFSVersionFunc := dlsym(ModuleHandler, 'VFSVersion');
- if (@VFSVersionFunc <> nil) and (VFSVersionFunc >= ConstVFSVersionRequired) then begin
+ if (@VFSVersionFunc <> nil) and (VFSVersionFunc = ConstVFSVersionRequired) then begin
PluginItem := TVFSPlugin.Create(ModuleHandler);
PluginItem.FullPath := IncludeTrailingPathDelimiter(s) + Buf;
PluginList.Add(PluginItem);