Skip to content

Commit

Permalink
Remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Jul 31, 2019
1 parent 89e1730 commit 1b89757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion reapi/src/natives/natives_hookchains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ cell AMX_NATIVE_CALL SetHookChainReturn(AMX *amx, cell *params)
getATypeStr(static_cast<AType>(params[arg_type]))
);

printf("> SetHookChainReturn: called #3\n");
return FALSE;
}

Expand Down
4 changes: 2 additions & 2 deletions reapi/src/natives/natives_misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ cell AMX_NATIVE_CALL rh_update_user_info(AMX *amx, cell *params)
cell AMX_NATIVE_CALL rh_drop_client(AMX *amx, cell *params)
{
enum args_e { arg_count, arg_index, arg_msg };

CHECK_ISPLAYER(arg_index);

client_t *pClient = clientOfIndex(params[arg_index]);
Expand All @@ -2386,7 +2386,7 @@ cell AMX_NATIVE_CALL rh_drop_client(AMX *amx, cell *params)
AMXX_LogError(amx, AMX_ERR_NATIVE, "%s: player %i is not connected", __FUNCTION__, params[arg_index]);
return FALSE;
}

char messagebuf[256];
g_RehldsFuncs->DropClient(g_RehldsSvs->GetClient(params[arg_index] - 1), false, getAmxString(amx, params[arg_msg], messagebuf));
return TRUE;
Expand Down

0 comments on commit 1b89757

Please sign in to comment.