diff options
author | Haru <haru@dotalux.com> | 2018-04-25 17:28:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 17:28:48 +0200 |
commit | a1f048fc6bdb14199cfaaf2b8f221333a764ddc9 (patch) | |
tree | bbabede2500cdafa2a1a8ea4e9b546bbc0cace8d /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | |
parent | a4df55e940057e2882a4b01dd1471c73af70e2bd (diff) | |
parent | 0903a1f80285f02e1c902dafb2ab5e1783b9e671 (diff) | |
download | hercules-a1f048fc6bdb14199cfaaf2b8f221333a764ddc9.tar.gz hercules-a1f048fc6bdb14199cfaaf2b8f221333a764ddc9.tar.bz2 hercules-a1f048fc6bdb14199cfaaf2b8f221333a764ddc9.tar.xz hercules-a1f048fc6bdb14199cfaaf2b8f221333a764ddc9.zip |
Merge pull request #2023 from MishimaHaruna/remove-stat-server
Remove stat server
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index 1fbc47731..e7eb005e2 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -5499,32 +5499,6 @@ bool HP_chrif_removefriend(int char_id, int friend_id) { } return retVal___; } -void HP_chrif_send_report(char *buf, int len) { - int hIndex = 0; - if (HPMHooks.count.HP_chrif_send_report_pre > 0) { - void (*preHookFunc) (char **buf, int *len); - *HPMforce_return = false; - for (hIndex = 0; hIndex < HPMHooks.count.HP_chrif_send_report_pre; hIndex++) { - preHookFunc = HPMHooks.list.HP_chrif_send_report_pre[hIndex].func; - preHookFunc(&buf, &len); - } - if (*HPMforce_return) { - *HPMforce_return = false; - return; - } - } - { - HPMHooks.source.chrif.send_report(buf, len); - } - if (HPMHooks.count.HP_chrif_send_report_post > 0) { - void (*postHookFunc) (char *buf, int len); - for (hIndex = 0; hIndex < HPMHooks.count.HP_chrif_send_report_post; hIndex++) { - postHookFunc = HPMHooks.list.HP_chrif_send_report_post[hIndex].func; - postHookFunc(buf, len); - } - } - return; -} bool HP_chrif_flush(void) { int hIndex = 0; bool retVal___ = false; |