mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-27 07:15:37 +03:00
Merge pull request #276 from Arkshine/fix/ham-command
Fix "ham hooks" command not displaying all current hooks of a plugin
This commit is contained in:
commit
6d7daf787d
@ -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