Skip to content

Commit

Permalink
Merge pull request #103 from In-line/patch-2
Browse files Browse the repository at this point in the history
Fix copypaste errors
  • Loading branch information
theAsmodai authored Apr 10, 2018
2 parents f1237aa + 9c8f2f9 commit b0026f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reapi/src/natives/natives_hookchains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit b0026f3

Please sign in to comment.