diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-09 23:14:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:30 +0300 |
commit | 49219fa80a9d6010003b59556d09ad80a9cd0f0b (patch) | |
tree | 8720d9382b7b204cfb75686622fc6ba935a4e406 /src/plugins/HPMHooking/HPMHooking_char.Hooks.inc | |
parent | 58d85d09c066805e87d22ce940c8163de4087f21 (diff) | |
download | hercules-49219fa80a9d6010003b59556d09ad80a9cd0f0b.tar.gz hercules-49219fa80a9d6010003b59556d09ad80a9cd0f0b.tar.bz2 hercules-49219fa80a9d6010003b59556d09ad80a9cd0f0b.tar.xz hercules-49219fa80a9d6010003b59556d09ad80a9cd0f0b.zip |
Fix mapif interface.
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_char.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_char.Hooks.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc index 2820c7154..8a775ccfd 100644 --- a/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_char.Hooks.inc @@ -11506,10 +11506,10 @@ int HP_mapif_parse_RegistryRequest(int fd) { } return retVal___; } -void HP_mapif_namechange_ack(int fd, int account_id, int char_id, int type, int flag, const char *constname) { +void HP_mapif_namechange_ack(int fd, int account_id, int char_id, int type, int flag, const char *name) { int hIndex = 0; if( HPMHooks.count.HP_mapif_namechange_ack_pre ) { - void (*preHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *constname); + void (*preHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *name); *HPMforce_return = false; for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_namechange_ack_pre; hIndex++ ) { preHookFunc = HPMHooks.list.HP_mapif_namechange_ack_pre[hIndex].func; @@ -11524,7 +11524,7 @@ void HP_mapif_namechange_ack(int fd, int account_id, int char_id, int type, int HPMHooks.source.mapif.namechange_ack(fd, account_id, char_id, type, flag, name); } if( HPMHooks.count.HP_mapif_namechange_ack_post ) { - void (*postHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *constname); + void (*postHookFunc) (int *fd, int *account_id, int *char_id, int *type, int *flag, const char *name); for(hIndex = 0; hIndex < HPMHooks.count.HP_mapif_namechange_ack_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_mapif_namechange_ack_post[hIndex].func; postHookFunc(&fd, &account_id, &char_id, &type, &flag, name); |