From 9c8f2f9baaad072fb4e948f8b2151b77ed726493 Mon Sep 17 00:00:00 2001 From: In-line Date: Sun, 4 Mar 2018 13:46:51 +0400 Subject: [PATCH] Fix copypaste errors --- reapi/src/natives/natives_hookchains.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reapi/src/natives/natives_hookchains.cpp b/reapi/src/natives/natives_hookchains.cpp index 7df7705..c5ede56 100644 --- a/reapi/src/natives/natives_hookchains.cpp +++ b/reapi/src/natives/natives_hookchains.cpp @@ -188,7 +188,7 @@ cell AMX_NATIVE_CALL GetHookChainReturn(AMX *amx, cell *params) if (unlikely(params[arg_type] != retVal.type)) { - AMXX_LogError(amx, AMX_ERR_NATIVE, "%s: trying to set return value with incompatible type.", __FUNCTION__); + AMXX_LogError(amx, AMX_ERR_NATIVE, "%s: trying to get return value with incompatible type.", __FUNCTION__); return FALSE; } @@ -242,7 +242,7 @@ cell AMX_NATIVE_CALL SetHookChainArg(AMX *amx, cell *params) { if (unlikely(!g_hookCtx)) { - AMXX_LogError(amx, AMX_ERR_NATIVE, "%s: trying to get return value without active hook.", __FUNCTION__); + AMXX_LogError(amx, AMX_ERR_NATIVE, "%s: trying to set argument without active hook.", __FUNCTION__); return FALSE; }