2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2024-12-25 14:15:31 +03:00

Fixed wrong result condition

This commit is contained in:
s1lentq 2024-01-16 01:20:13 +07:00
parent 096f4383b0
commit 603a2574e9

View File

@ -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;