diff options
author | Haru <haru@dotalux.com> | 2019-11-17 15:53:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-17 15:53:05 +0100 |
commit | d92a4cdd378ab3c952f2419c46cd645348e1c61f (patch) | |
tree | cdeea33ba7d1ce3672f44c772bc0b853b21da02e /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | |
parent | 16f3d5e12cdf28c5209af7ce74d1dfe4614deb00 (diff) | |
parent | 50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (diff) | |
download | hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.gz hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.bz2 hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.tar.xz hercules-d92a4cdd378ab3c952f2419c46cd645348e1c61f.zip |
Merge pull request #2566 from Helianthella/guild
add getguildinfo()
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index d11022aa6..90b07c4e5 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -32850,11 +32850,11 @@ struct guild* HP_guild_search(int guild_id) { } return retVal___; } -struct guild* HP_guild_searchname(char *str) { +struct guild* HP_guild_searchname(const char *str) { int hIndex = 0; struct guild* retVal___ = NULL; if (HPMHooks.count.HP_guild_searchname_pre > 0) { - struct guild* (*preHookFunc) (char **str); + struct guild* (*preHookFunc) (const char **str); *HPMforce_return = false; for (hIndex = 0; hIndex < HPMHooks.count.HP_guild_searchname_pre; hIndex++) { preHookFunc = HPMHooks.list.HP_guild_searchname_pre[hIndex].func; @@ -32869,7 +32869,7 @@ struct guild* HP_guild_searchname(char *str) { retVal___ = HPMHooks.source.guild.searchname(str); } if (HPMHooks.count.HP_guild_searchname_post > 0) { - struct guild* (*postHookFunc) (struct guild* retVal___, char *str); + struct guild* (*postHookFunc) (struct guild* retVal___, const char *str); for (hIndex = 0; hIndex < HPMHooks.count.HP_guild_searchname_post; hIndex++) { postHookFunc = HPMHooks.list.HP_guild_searchname_post[hIndex].func; retVal___ = postHookFunc(retVal___, str); |