summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-04-18 00:41:38 +0200
committerHaru <haru@dotalux.com>2018-04-22 21:17:53 +0200
commit0903a1f80285f02e1c902dafb2ab5e1783b9e671 (patch)
tree2e766e37097d7483709397f7298b9e5ef157db21 /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
parent5dd8a9165d1cd228124c2d9e07c8c38e47251dd6 (diff)
downloadhercules-0903a1f80285f02e1c902dafb2ab5e1783b9e671.tar.gz
hercules-0903a1f80285f02e1c902dafb2ab5e1783b9e671.tar.bz2
hercules-0903a1f80285f02e1c902dafb2ab5e1783b9e671.tar.xz
hercules-0903a1f80285f02e1c902dafb2ab5e1783b9e671.zip
HPM Hooks Update
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc26
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 02cf68bd2..007a1c004 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;