Skip to content

Commit

Permalink
Fixed wrong result condition
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Jan 15, 2024
1 parent 096f438 commit 603a257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metamod/src/sys_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ bool CSysModule::unload()

bool ret = true;
if (m_free) {
ret = dlclose(m_handle) != 0;
ret = dlclose(m_handle) == 0;
}

m_handle = INVALID_HANDLE;
Expand Down

0 comments on commit 603a257

Please sign in to comment.