mirror of
https://github.com/rehlds/metamod-r.git
synced 2024-12-27 07:05:34 +03:00
Fixed wrong result condition
This commit is contained in:
parent
096f4383b0
commit
603a2574e9
@ -194,7 +194,7 @@ bool CSysModule::unload()
|
|||||||
|
|
||||||
bool ret = true;
|
bool ret = true;
|
||||||
if (m_free) {
|
if (m_free) {
|
||||||
ret = dlclose(m_handle) != 0;
|
ret = dlclose(m_handle) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_handle = INVALID_HANDLE;
|
m_handle = INVALID_HANDLE;
|
||||||
|
Loading…
Reference in New Issue
Block a user