mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 15:25:36 +03:00
Fix "ham hooks" command not displaying all current hooks of a plugin
This commit is contained in:
parent
8c0534a055
commit
73e84e9963
@ -92,7 +92,7 @@ void HamCommand(void)
|
|||||||
int count = 0;
|
int count = 0;
|
||||||
for (int i=0; i<HAM_LAST_ENTRY_DONT_USE_ME_LOL; i++)
|
for (int i=0; i<HAM_LAST_ENTRY_DONT_USE_ME_LOL; i++)
|
||||||
{
|
{
|
||||||
for (size_t j = 0; j < hooks[i].length(); ++i)
|
for (size_t j = 0; j < hooks[i].length(); ++j)
|
||||||
{
|
{
|
||||||
HookCount++;
|
HookCount++;
|
||||||
ForwardCount += hooks[i].at(j)->pre.length() + hooks[i].at(j)->post.length();
|
ForwardCount += hooks[i].at(j)->pre.length() + hooks[i].at(j)->post.length();
|
||||||
|
Loading…
Reference in New Issue
Block a user