dont message removing empty hook
This commit is contained in:
parent
1759b74fd3
commit
b9a4a94d61
@ -285,7 +285,7 @@ void TextHook::RemoveReadCode()
|
||||
void TextHook::Clear()
|
||||
{
|
||||
std::scoped_lock lock(*viewMutex);
|
||||
ConsoleOutput(REMOVING_HOOK, hp.name);
|
||||
if (*hp.name) ConsoleOutput(REMOVING_HOOK, hp.name);
|
||||
if (hp.type & DIRECT_READ) RemoveReadCode();
|
||||
else RemoveHookCode();
|
||||
NotifyHookRemove(address);
|
||||
|
Loading…
Reference in New Issue
Block a user