Fix "ham hooks" command not displaying all current hooks of a plugin

This commit is contained in:
Arkshine 2015-07-31 14:25:19 +02:00
parent 8c0534a055
commit 73e84e9963

View File

@ -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();